title: What should be used instead of "setListNavigationCallbacks"?
body: <h2>Background</h2>
  
  <p><a href="http://developer.android.com/reference/android/app/ActionBar.html#setListNavigationCallbacks(android.widget.SpinnerAdapter,%20android.app.ActionBar.OnNavigationListener)"><strong>setListNavigationCallbacks</strong></a> is used to allow the user to switch between different views of the current screen easily via the ActionBar, as shown <a href="http://developer.android.com/guide/topics/ui/actionbar.html#Dropdown"><strong>here</strong></a> and <a href="http://wptrafficanalyzer.in/blog/adding-drop-down-navigation-to-action-bar-in-android/"><strong>here</strong></a>.</p>
  
  <h2>The problem</h2>
  
  <p>I've noticed it got deprecated as of API21 (Lollipop), and that all <a href="http://developer.android.com/reference/android/support/v7/app/ActionBar.html#setListNavigationCallbacks(android.widget.SpinnerAdapter,%20android.support.v7.app.ActionBar.OnNavigationListener)"><strong>the documentation</strong></a> says is to look for other navigation solutions, but it doesn't say what's the best one that fits the same point:</p>
  
  <blockquote>
    <p>This method is deprecated. Action bar navigation modes are deprecated
    and not supported by inline toolbar action bars. Consider using other
    common <a href="http://developer.android.com/design/patterns/navigation.html"><strong>navigation patterns</strong></a> instead.</p>
  </blockquote>
  
  <p>All other functions/classes that are related to this function are also deprecated, such as <a href="http://developer.android.com/reference/android/app/ActionBar.html#setNavigationMode(int)"><strong>setNavigationMode</strong></a>, <a href="http://developer.android.com/reference/android/app/ActionBar.OnNavigationListener.html"><strong>OnNavigationListener</strong></a>, <a href="http://developer.android.com/reference/android/app/ActionBar.html#NAVIGATION_MODE_LIST"><strong>ActionBar.NAVIGATION_MODE_LIST</strong></a> .</p>
  
  <h2>What I've tried</h2>
  
  <ol>
  <li><p>The navigation drawer is for navigation of different screens, and not different views of the same screen. </p></li>
  <li><p>adding an action item that will provide a way to switch between the modes, but that's a bit weird...</p></li>
  <li><p>using a ViewPager, but that's also weird as it doesn't really switch views, plus it takes more space.</p></li>
  <li><p>Using tabs, but I think that's also deprecated in some way, plus it takes more space this way.</p></li>
  </ol>
  
  <h2>The question</h2>
  
  <p>What should be the best alternative to this way of navigation?</p>