Disabling items in a Navigation Drawer in Android
I'm using the Navigation Drawer Example downloadable here . I'd like to extend this example to disable the selection of one of the planets. For simplicity, lets say I want to permanently disable the selection of Saturn, and change the text of Saturn to dark gray, and have it not highlight when a user selects it. (in reality, I would like to disable navigation programmatically when a user has changed certain values on the screen not yet saved to the device). The closest thing I've gotten to this is to stop the selectItem() method from being called from within the onItemClick click listener, but