So I'm having trouble managing the Backstack
in my Android app.
My application essentially contains a Navigation Drawer
where each option starts a new Activity
. I have designed a BaseActivity
which contains all the Navigation Drawer
initialisations, from which the other activities extend so that they all have the same Navigation Drawer
. (I do not use fragments anywhere).
The problem is that each time the back button is pressed (in any activity), the Navigation Drawer
either opens or closes.
How can I remove the Navigation Drawer from the Backstack
considering it is an Activity that the other Activities extend from and is not launched anywhere with an Intent?