Answer the question
In order to leave comments, you need to log in
How in the Navigation Component to implement stack clearing when a certain fragment is opened?
How in the Navigation Component to implement stack clearing when a certain fragment is opened?
For example, there is:
Splash->Start screen->Main screen (bottom navigation is located on it)
Splash immediately disappears from the stack on the main screen in bottom navigation, you can go deeper into the fragments, just like when you click on another fragment from bottom navigation, clear the stack so that in it only the
Start screen->Main screen remained (with the selected fragment)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question