Sometimes the home screen shows the wrong taps, for example a hidden tap instead of a visible one.
I've traced it down to Fragment[State]PagerAdapter. As taps come and go, they get reordered. We call notifyDataSetChanged() and return POSITION_NONE for all fragments, which should be sufficient, however I've seen that in many cases this does not call getItemPosition() for the on-screen views, resulting in the inconsistency.
Sometimes the home screen shows the wrong taps, for example a hidden tap instead of a visible one.
I've traced it down to
Fragment[State]PagerAdapter
. As taps come and go, they get reordered. We callnotifyDataSetChanged()
and returnPOSITION_NONE
for all fragments, which should be sufficient, however I've seen that in many cases this does not callgetItemPosition()
for the on-screen views, resulting in the inconsistency.Looks like the upstream issue is http://b.android.com/37990