It work when I add static to the variable warningShown, like "private static boolean warningShown = false;"
and "android:configChanges="orientation" in the manifest in the activity section
It work when I add static to the variable warningShown,
like "private static boolean warningShown = false;"
and configChanges= "orientation"
"android:
in the manifest in the activity section