T
T
Tsuzukeru2021-09-20 11:04:44
Android
Tsuzukeru, 2021-09-20 11:04:44

How to navigate back using the navigation component?

There is a home fragment that has an exit button. When you click on the button, you need to navigate to the authorization screen (login). If you create an action on this action, then navigation is performed, but it becomes possible to go back to home when you press the back button . How to navigate by removing from the stack all the screens that lie under the login?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question