I've spent 3 days trying to figure this out to no avail. I've spent hours weeding through Android source code. Hopefully someone can shed some light.
My listview uses custom views for the rows. When the application first loads, the listview is populated using a DB cursor and all works well (list items are all selectable by tapping on them). However, when the cursor is changed and notifyDataSetChanged() is called, the new rows are no longer selectable by tap - no matter how many times I tap on them. I can't seem to get out of touch mode. (Note that each rows' onTouchEvent method is being called) The only way to select the rows is to use the track ball. After the trackball is used once, and only then, I can select items by tap (ie, clear touch mode) just as before. I've managed to reproduce this problem multiple times on the Android Dev 1 (G1) device. Similar issues also occur when screen orientation is changed. Sometime, if I change the screen to landscape, I won't be able to select row items by tapping. Any ideas what could possibly cause this? I've studied the source of ListView.java and still can't figure out the problem. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

