问题:
I have a scenario where, after logging in through a login page, there will be a sign-out button on each activity . 我有一种情况,在通过登录页面登录后,每个activity上都会有一个退出button 。
On clicking sign-out , I will be passing the session id of the signed in user to sign-out. 点击sign-out ,我将传递已登录用户的session id以便退出。 Can anyone guide me on how to keep session id available to all activities ? 谁能指导我如何使session id可供所有activities ?
Any alternative to this case 这种情况的任何替代方法
解决方案:
参考一: https://stackoom.com/question/8m5J/如何在Android应用程序的-活动-之间传递数据参考二: https://oldbug.net/q/8m5J/How-do-I-pass-data-between-Activities-in-Android-application
来源:oschina
链接:https://my.oschina.net/u/4428122/blog/4484562