Replace fragment with another fragment inside ViewPager

后端 未结 5 623
生来不讨喜
生来不讨喜 2020-12-01 03:36

I\'m using a ViewPager together with a FragmentPagerAdapter to host three different fragments

[Fragment1][Fragment2][Fragment3]

What I\'m t

5条回答
  •  醉话见心
    2020-12-01 04:16

    Shouldn't your getItem statement be returning fragment4 for case 0 in some circumstances?

提交回复
热议问题