I\'m creating a file manager app for Android, and two classes below are the majority of the logic that goes into doing that. What I\'m doing is that on startup of the Conten
this worked for me
@Override protected void onRestoreInstanceState(Bundle savedInstanceState) { super.onRestoreInstanceState(savedInstanceState); onCreate(savedInstanceState); }
and in manifest file inside your Activity tag android:configChanges="orientation|screenSize"
and in manifest file inside your Activity tag
android:configChanges="orientation|screenSize"