in Android Studio, I use the Navigation Drawer Activity template, as well as I create fragments and transitions between them (instead of activating), but I have this question: the main application page is also a fragment above the Main Activity (part of the Navigation Drawer Activity) or the main This page is the Main Activity, but then how do I go to it from the navigation bar (for example, if I clicked on some item of the navigation bar and I need to go back to the main page not with the back button, but with the same item in the "Main page")? And depending on the answer to the first question, how is the transition from the registration form to the main page implemented? Ps code is not necessary to write (well, at your discretion) the main logic of this is for me, please explain !!!

    0