viewpager2 to load only first fragment without offscreenPageLimit

后端 未结 0 1842
孤城傲影
孤城傲影 2020-12-31 10:03

I have viewpager2(tablayout) with several fragments which all have network request. I want to load the api(in fragment) when the fragment gets selected and i don\'t want to

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