Swipe back with Navigation Component
baonq-2356 opened this issue · comments
baonq-2356 commented
Hello, i have an app designed by navigation component, my app navigates between fragments by navController.navigate()
and navController.popBackStack()
. Now i want to make a feature that user can swipe to back between current fragment and previous fragment but i didn't have an idea. How can i do it?
Dmitrii Rubtsov commented
Hi @baonq-2356, I got stuck with the same problem and decided to make my own library. Here it is https://github.com/massivemadness/Fragula
I wouldn't publish my lib here if this one wasn't abandoned