Skip to content

Instantly share code, notes, and snippets.

@davidelp68
Created March 27, 2020 11:23
Android Studio - Tabbed Activity
//questa condizione è da inserire nella funzione onViewCreated()
/*se savedInstanceState non è nullo viene eseguito il ripristino
altrimenti viene eseguito il ripristino allo stato iniziale*/
if (savedInstanceState != null) {
click = savedInstanceState.getInt("n1")
click2 = savedInstanceState.getInt("n2")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment