I have an application that uses an ExpandableListView widget populated with elements through a BaseExpandableListAdapter. The application was created for Android version 1.6, and when I test it using the Android emulator (version 1.6 build), everything works fine. I can scroll the list up and down, and when I click on any items in the list, I get the onChildClick () event.
However, when I try to run the same application on a real Android phone (Gingerbread is running), I only get onChildClick () events if I do not scroll ExpandableListView. If I scroll through the list too much, I no longer get onChildClick events (and itemClickEvents as well).
So, I'm confused. Why am I not getting any onChild or onItem events for list items after I scroll through it? Please note that if I scroll it only a small amount (say, two or three lines), I get click events, but scroll more, and then I no longer get click events for any item in the list.
Any suggestions or recommendations would be appreciated.
Thanks.
source share