Android - How to change header/footer view elements for existing ListView?
<p>Say I add a header view to my list view using the typical method like so:</p>

<pre><code>View header = getLayoutInflater().inflate(R.layout.list_header, null);
TextView headerText = (TextView) header.findViewById(R.id.my_textview);
headerText.setText("This is my header!");

myListView.addHeaderView(header);
myListView.setAdapter(adapter);
</code></pre>

<p>Then, later I need to alter the text of the header textview...</p>

<pre><code>TextView headerText = (TextView) findViewById(R.id.my_textview);
headerText.setText("new header text!");
</code></pre>

<p>This doesn't appear to work, since the way I originally attached the header to the list was by inflating it...</p>

<p>How do I change the text?</p>
