My application implements a navigation drawer to change fragments. What I need now is to update the navigation drawer items if the user is logged in
For example : logged in navigation items look like this
Home My Info Logout
logged off navigation items look like this
Home Register Login
The set up of my project is a Base activity which extends Navigation fragment and changes to a current fragment based on the selected navigation drawer item.
All my other files are fragments which change depending on the navigation drawer item selected.
I have this kind of working but navgation drawer only updates when I log in then close the app completely and then re start it.