SimformSolutionsPvtLtd / SSCustomBottomNavigation

Animated TabBar with native control and Jetpack Navigation support..✨🔖🚀
Apache License 2.0
513 stars 45 forks source link

Disable re-create like ViewPager #30

Open toledorobson opened 2 years ago

toledorobson commented 2 years ago

Hi, thanks for this library.

I added my fragments with jetpack navigation but when i change tab from the menu, fragments are re-created. I want to continue where I left off when i reselect a menu item like viewpager.

Is that possible? Thank you.

MehulKK commented 2 years ago

@toledorobson : would you please share more details for this.

sagarishtech commented 1 year ago

Yes i have same issue, how to prevent Fragment refreshing Every time when we clicked on menu item. So kindly tell us how to prevent Refreshing fragments every time?

ex: We have 4 fragments A, B, C, D => currently we are on Fragment A, so when we clicked on fragment B and again i click back on Fragment A, here i dont want to Recreate fragment A, Same as all others fragments.

is this possible?

Thank you