Alexey

Results 3 comments of Alexey

Just create adapter with Fragment: FragmentStateAdapter(**fragment**) Don't use FragmentStateAdapter(fragmentActivity)

> Has someone found a fix for this issue yet? I have tried quite a few things and only `android:saveEnabled="false` seems to work, but I need the ViewPager2 to remember...

> @alkocher thanks, but isn't it same as using FragmentStateAdapter(fragment), because I will be anyways using the host fragments childFragmentManager and hostFragment's lifeCycle. Maybe I am missing something here? I...