Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
protected override void OnRestoreInstanceState(Bundle savedInstanceState)
{
base.OnRestoreInstanceState(savedInstanceState);
var previouslySelectedTabPosition = savedInstanceState.GetInt("selectedTabPosition", 0);
this.ActionBar.SetSelectedNavigationItem(previouslySelectedTabPosition);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment