Scrolling with listview and custom TextView adapter throws off ordering?
<p>I have a custom adapter that I bind to a listview. That part is fine. When I scroll the listview, the ordering is thrown off because if I scroll back to the beginning (i.e scroll back up after scrolling down) the TextView shown is not the first one. Is there something I have to handle in the adapter during scrolling?</p>

<pre><code>public class TextViewAdapter extends BaseAdapter 
{
    private Context context;

    public TextViewAdapter(Context c) 
    {
        context = c;
    }

    //---returns the number of images---
    public int getCount() {
        return textViews.size();
    }

    //---returns the ID of an item--- 
    public Object getItem(int position) {
        return position;
    }

    public long getItemId(int position) {
        return position;
    }

    //---returns an TextView---
    public View getView(int position, View convertView, ViewGroup parent) 
    {
        TextView tv;
        Log.d("Position",  Integer.toString(position));
        if (convertView == null) {

            tv = (TextView)textViews.get(position);
        } else {
            tv = (TextView) convertView;
        }            
        return tv;
    }
}
</code></pre>
