Accessing rows in a ListView
<p>I'm having trouble changing the data held within a TextView inside of a listView.
I can access the data and send a toast of the text, but the list isn't updated when
I change it.</p>

<pre><code> public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setListAdapter(new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, presidents));
    ListView lv = getListView();
    lv.setTextFilterEnabled(true);
    ListAdapter list_adapter = lv.getAdapter();
    TextView var_x = (TextView) list_adapter.getView(0,null,null);
    ListView list = getListView();
    int count = list.getChildCount();
    Toast.makeText(getApplicationContext(),(var_x).getText(),Toast.LENGTH_SHORT).show();
    var_x.setText("not a president");
}
</code></pre>

<p>How can I change the text/styling of a row once I've already created it?</p>

<p>Thanks for any help</p>
