onclick - Android - delayed clicks in ListView -



onclick - Android - delayed clicks in ListView -

i have next construction in app:

fragmentactivity viewpager holding multiple fragments managed fragmentstatepageradapter using compativility pack android 2.1

each fragment contains listview. each element in listview has linearlayout 2 textviews , button. linearlayout , button have onclicklisteners (separate). clicking on linearlayout starts activity. noticed clicks behavior inconsistent: action executed delayed , it's ignored no matter how many times tap. gets weirder because can tap , action executed when start scrolling list. tried various combinations of setfocusable(false) , setselectable(true) seems not create difference. ideas? i'll happy provide more details.

i ran same problem, in case solution not maintain references views, caused problems listview's view caching. after implementing getview() method utilize of converview, unusual behaviour lost / unexpected click calls gone.

android onclick android-listview android-fragments android-viewpager

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -