ikew0ng / SwipeBackLayout

An Android library that help you to build app with swipe back gesture.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swipe back with Navigation Component

baonq-2356 opened this issue · comments

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?

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