I have a scenario where, after logging in through a login page, there will be a sign-out button
on each activity
.
On clicking sign-out
, I will be passing the session id
of the signed in user to sign-out. Can anyone guide me on how to keep session id
available to all activities
?
Any alternative to this case
Best Answer
In your current Activity, create a new
Intent
:Then in the new Activity, retrieve those values:
Use this technique to pass variables from one Activity to the other.