Answer the question
In order to leave comments, you need to log in
How to switch Fragment in BottomNavigation?
Good afternoon. I'm using a bottom navigation template. I need to switch the current fragment to another created one by pressing a button on a fragment.
That is, for example, when I click on the button, instead of the "main" fragment, another one appeared. Do I need to add something to mobile_navigation.xml and so on?
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