I have doubt in fragment system.
I have two fragments like A and B
If i move A to B,
Navigation.findNavController(v).navigate(R.id.B)
Now A fragment onDestroyView is called i know it's normal. After in B Fragment i called PopBackStack
Navigation.findNavController(v).popBackStack()
now A fragment onViewCreated is called i also know it's normal. Now A fragment all ui is initial state.
My question is how to keep A fragment UI State like recyclerview scroll position, FAB button visibility, etc