SimformSolutionsPvtLtd / SSCustomBottomNavigation

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

back issue #49

Open kahlidabuhayea opened 1 year ago

kahlidabuhayea commented 1 year ago

bootom navigation reselect 0 index when back

bipin-sakariya commented 1 year ago

@simform-solutions I am facing the same issue while pressing back on the fragment. Flow:- Load Home Fragment as 0 indexes now tap on the button to navigate home to details fragment using navigation actions and press back on details it reselects the 0 indexes instead of back.

it perfectly works when I tap on the button and set on click with this findNavController().popBackStack(). But when I press back button of system then it is not working.

@kahlidabuhayea Do you have any other solution?