We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm making an app which has multiple pages, and I'm overriding onSaveInstanceState to save across rotation. But then, I get the error "The function onSaveInstanceState(Bundle) does not exist". My code is
public void onSaveInstanceState(Bundle savedInstanceState){
savedInstanceState.putInt("TheInt", page);
//the variable 'page' is the number of page the app is in
super.onSaveInstanceState(savedInstanceState);
}
I'm happy to provide more information if anybody needs any.
Answers
There is a new forum
Better ask there
Where is the url?
I found it, now creating account.
Thanks!
Thank you!