Android - delayed clicks in ListView

前端 未结 6 1584
忘了有多久
忘了有多久 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:11

    Not sure if this helps anyone, but I had a similar problem instead with a TableLayout. The above solutions didn't fix my issue.

    For me the problem was: android:animateLayoutChanges="true"

    Removing this allowed my button clicks within my TableLayout rows to work properly. I had to then animate my views manually instead of relying on the above property.

提交回复
热议问题