1

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.

Akram
  • 2,158
  • 1
  • 17
  • 24

1 Answers1

1

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.

Shubhendra Singh
  • 456
  • 1
  • 6
  • 16
  • Yes, android currently does't support it and it fact, it just recently added support for `Bottom Navigation View`. I am looking for a library or class that has implemented this behaviour using android `Bottom Navigation View`. FragNav uses a 3rd party library to support `bottom navigation`. – Akram Aug 28 '17 at 12:31
  • I think that saving tab state in not possible using Bottom Navigation View and yes FragNav uses BottomBar library since it provides some helpful functions that is needed for the required task. – Shubhendra Singh Aug 28 '17 at 12:46