android: onOptionsItemSelected, return false
<p>in onOptionsItemSelected... i was some code that had different cases in the switch block that returned values of true individually, but the end of the block returned false.  why is this?</p>

<p>example of how I normally do it</p>

<pre><code>public boolean onOptionsItemSelected (MenueItem item)
       switch (item.getItemId()){
             case R.id.item1:
             startActivity (new Intent (this, PrefsActivity.class));
             break;
       }
       return true
</code></pre>

<p>example of how i saw it and, and am unsure of why it's set up this way... i just learned the first way, so i'm unsure of the logic of this other way...</p>

<pre><code>public boolean onOptionsItemSelected(MenuItem item) {
       switch (item.getItemId()) {
               case MENU_NEW_GAME:
               newGame();
               return true;
       }
       return false;
</code></pre>
