[Solved] android-how to make a login?
On orientation change, all life cycle functions of the Activity are called, because it is reconstructed from zero. Your application must take this into account. The current activity goes onPause() onStop() onDestroy(), then the new Activity goes onCreate() onStart() onResume(), in that order. Therefore you must store the fact that you have logged in, in … Read more