============ Problem Description ============
Now many apps have automatic login function, the user login once, the next time to enter the app has been logged on, such as the United States, Iqiyi, the way the activity is not on the home page activity. How is this implemented in the background, in the application class with Sharedprefere? Please advise your predecessors
============ Solution 1============
First you have to save the information locally after the first successful login. In the future when you open the app, such as in the Welcome interface to check the local data if there is a record to execute the login action, and then skip the login interface What do you do?
============ Solution 2============
Launch the app in the mainactivity in the OnCreate to determine whether there is local data, if you have to study data, automatic landing, generally with sharedprefered to save
Android for automatic login