Akram
Akram

Reputation: 2198

Save fragments state when using android BottomNavigationView

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.

Upvotes: 1

Views: 1479

Answers (1)

Shubhendra Singh
Shubhendra Singh

Reputation: 456

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.

Upvotes: 1

Related Questions