I have a problem with ListView which recycles views that are visible on the screen. I can have up to 4 items in my the ListView, they are all visible on screen. After I update a property of an object in the ArrayList that the ListAdapter uses i call the notifyDataSetChanged() method of the list adapter. This causes the ListView to recycle the views and to redraw it self. The problem is that it's doing the recycling in a reverse order. so if i have a button on the first Listview item it will be in the second list view item after the notifyDataSetChanged(). I have getView that changes the convertView properties except for the button onTouchListenet. This is very problematic if i have a button that works with touch event (Like PTT button). one second it's there and than it's not :-(. 1. why does the ListView recycle items that are visible on the screen ? is this normal behaviour? why does it done in reverse order ? 2. What can I do to solve my issue ?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en