Trivial suggestion about Listing 18.5


#1

Hi,

I think it would be better

  • to add “default” to switch statement and
  • to move return super.onContextItemSelected(item) under that.
    That makes the coding style consistent.

Thanks,