on android, ¿i can save and restore the current adapter of listview, when rotating the screen?
to make that i have to save the adapter in methode onSaveInstanceState, but how i can get the current adapter of my list activity?
thanks.
on android, ¿i can save and restore the current adapter of listview, when rotating
Share
If you don’t need to use a different layout in your activity when rotated, you can keep it from being recreated after a rotation in your manifest by adding :
in your activity description in your manifest.