Supriya Pandey Supriya Pandey - 1 year ago 78
Android Question

Navigation Drawer Item ByDefault selected not on click andorid

I am new to android, I am using navigation drawer for displaying my item list.

I faced some issues, Like when i come to my navigation Activity, the list name as Restaurant displayed. This Restaurant item as well included in my drawer item which is similar to other one. First time when I come to Navigation Activity, I want to highlight restaurant item. How Can I do it?

Kindly tell me.

Answer Source

this is simple one line code:


and You can select(highlight) the item by calling

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download