I have a custom listview with a imageview and an textview. I want when user select a item the textview color should change and all the other textview should remain default.<
after many attempts set color in navigation view, I found out the simplest way to set text color in listview, maybe it will help to someone
res/color/listview_selector.xml
and set in TextView as android:textColor:
the trouble was in the right state, use android:state_activated in navigation view