Android - delayed clicks in ListView

前端 未结 6 1742
忘了有多久
忘了有多久 2021-02-04 03:45

I have the following structure in my app:

FragmentActivity with ViewPager holding multiple fragments managed by FragmentStatePagerAdapter using

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-04 04:20

    In case anybody wondered how I solved this. Basically I had to simplify my layouts. It seems that when you have complex nested structures events can take too long to bubble and if you start scrolling list at the same time event can trigger wrong action. I trimmed the layouts by switching to RelativeLayout as much as possible and that seemed to help a lot

提交回复
热议问题