Home > Mobile >  For help, after the user login information about how to read?
For help, after the user login information about how to read?

Time:10-31

The app need to log in to browse, have level permissions and so on information,
Use SharedPreferences save information after login, the Application reads information to each Activity calls,
This make sense? If you don't how to make things right?

CodePudding user response:

Are generally sp saved, if you have any of the more important thing is to add information encryption,

CodePudding user response:

If is the second time the login time, open the app does not need to log in, use sp have no problem, if every time open the app need to log in, you can build a class, class attribute with static, is the name of the class. The attribute calls, temporary storage,
  • Related