记录:ViewPager2 + FragmentStateAdapter 配合下的生命周期调用情况
Activity代码valfragments=arrayListOf(CustomFragment.get(1),CustomFragment.get(2),CustomFragment.get(3),CustomFragment.get(4),)//FragmentStatePagerAdapter(supportFragmentManager,BEHAVIOR_RESUME_ONLY_CURR