Android replace current fragment in tab layout and viewPager2

前端 未结 0 1059
感动是毒
感动是毒 2021-02-02 13:32

I want to keep viewPager2.setOffscreenPageLimit(4) to 4 and replace fragment from current tab.

viewPager2.getAdapter().notifyDataSetChanged(); doesn\'t work.

I\'m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题