FragmentPagerAdapter notifyDataSetChanged not working

前端 未结 6 475
天涯浪人
天涯浪人 2021-01-31 15:30

I got a FragmentPagerAdapter. It\'s getItem method can return a fragment according to data it has from the outside. After I update the data its suppose to display I

6条回答
  •  难免孤独
    2021-01-31 15:56

    For those who still facing refresh issue after trying above methods :

    invalidate viewPager then call notifyDatatSetChanged()

提交回复
热议问题