Save fragments state when using android BottomNavigationView

1.4k Views Asked by At

Is there any out of the box solution to save fragments state when using Android Bottom Navigation View? I have seen this library and this S.O. question but I am looking for a ready solution which uses Android Bottom Navigation instead of a third party library. Any suggestion is very appreciated.

1

There are 1 best solutions below

2
On

Using the above library (FragNav) is the only way I have found to save tab state like it is done in iOS. Android by default does not provide such functionality.