Get current fragment with ViewPager2

后端 未结 11 1994
野的像风
野的像风 2020-12-24 01:15

I\'m migrating my ViewPager to ViewPager2 since the latter is supposed to solve all the problems of the former. Unfortunately, when using it with a

11条回答
  •  爱一瞬间的悲伤
    2020-12-24 01:24

    Similar to some other answers here, this is what I'm currently using.
    I'm not clear on how reliable it is but at least one of these is bound to work

提交回复
热议问题