I\'m trying to fix the issue with restarting activity on orientation changes.
I have an ActionBar with drop-down list navigation and after every rotatio
I just found that function. It is setSelectedNavigationItem(int position).
Set the selected navigation item in list or tabbed navigation modes.
Example:
actionBar = getActionBar();
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
actionBar.setListNavigationCallbacks(adapter, this);
actionBar.setSelectedNavigationItem(position);