ViewPager2 doesn't recreate fragments, when we use BACK to arrive to it

前端 未结 0 1455
感动是毒
感动是毒 2020-12-31 02:50

I have a 2 tabs and two fragmentsthey switch:

public class TabsFragment extends Fragment {

private class ViewStateAdapter extends FragmentStateAdapter {

            


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