Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swipe back with Navigation Component #199

Open
baonq-2356 opened this issue Jan 20, 2022 · 1 comment
Open

Swipe back with Navigation Component #199

baonq-2356 opened this issue Jan 20, 2022 · 1 comment

Comments

@baonq-2356
Copy link

baonq-2356 commented Jan 20, 2022

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?

@massivemadness
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants