1
Good morning guys, I’m developing an app and put a navigation Drawer in it very basic, and I would like to know how to "save" which item is selected. And so whenever the app opens, it will open in the Fragment I put in this menu item (navigation Drawer)
Ex for better understanding:
My app is horoscope and my menu contains all the signs, if I selected "pound" every time my app opens, it will open in the pound Fragment.
Thank you in advance
try to save this information in a basic database and change the setcontentview by placing the content equal to the database variable
– Igor Oliveira