Nick
Nick

Reputation: 499

Change navigation drawer's selected item

enter image description here

In my app, after selecting "Sell a book", a new activity is opened. After closing this activity, I need that the navigation drawer will show "My shop" as selected item (like in the picture above).

How to do that?

Upvotes: 0

Views: 117

Answers (1)

Fluzz
Fluzz

Reputation: 68

You can have a function called in Javascript that uses CSS to hightlight the My Shop button after the user closes the activity.

Upvotes: 1

Related Questions