3
I created a navigation Drawer. To use in several Activities
using a standard class for it (DrawerBase.java
) and Xtendo her in Activities
where I want Navigation Drawer to open, but I have the following problem:
If I am in Activity Home, I open the menu and click on the item corresponding to Activity Home, it is reloaded, as I can do a test in the method OnNavigationItemSelected()
of my class DrawerBase
to check if the item I clicked to open is the activity
that I am already and call the command to close the drawer
instead of recharging the activity
?