A
AC Question
As I'm getting more familiar with Android programming, boolean methods such as onCreateOptionsMenu() and onOptionsItemSelected() become really confusing. I mean, why are they of type boolean and not void? What's the use of the returned value? And, of course, when should I decide to return false and when to return true?