I'm working on having a “Keep me on Logged in” state on my app. How should i do it?

前端 未结 2 1101
时光取名叫无心
时光取名叫无心 2020-12-04 04:22

Here\'s my xml:



        
2条回答
  •  渐次进展
    2020-12-04 04:54

    you should save the login credentials in sharedPreferences or Sqlite and on login activity check if you find any saved data then login with the saved data else ask user for credentials..

提交回复
热议问题