title: How to remove an item from the action bar drop down navigation menu
body: <p>I have an app with an action bar that has drop down navigation ( like a spinner ). Is it possible to programmatically remove an item from the list?</p>
  
  <p>EDIT: Relevant code:</p>
  
  <pre><code>// Set up the dropdown list navigation in the action bar.
          actionBar.setListNavigationCallbacks(
          // Specify a SpinnerAdapter to populate the dropdown list.
                  new ArrayAdapter&lt;String&gt;(getActionBarThemedContextCompat(),
                          android.R.layout.simple_list_item_1,
                          android.R.id.text1, list), this);
  </code></pre>