Hello, how are you? I have a question:
What happens is that I have my application made in Android Studio and I have three activities the Login menu and the submenu.
When I'm unlocked and close my application appears again in the login to log in and that is correct.
The problem is that when I leave the application and close it completely, this instead of starting in the main menu that I would like it to open, it always opens in the activity of the sub menu.
And my goal is to ensure that when the user logged in like this the application is closed, the main menu always appears
the serious question is there any way to put this main menu as default every time I open my application?
Loging is done with Firebase
This activity of the sub menu creates first before the main menu I think it may be that this sub menu is by default and I do not know if I can change it.
Please, if someone can help me with some idea.