So I'm having 4 Activities. Let's call them Activity1, Activity2, Activity3 and Activity 4.
Now what i want to do is: I enter data as an array in Activity2 and want to use it in Activity4. Now the solution that i found says, that i can just use intent.putExtra, and then startActivity(intent).
But my problem is: I don't want to start Activity 4 after Activity2. For Example: i want to be able to enter the data in Activity2 then go to Activity3 or 1 and afterwards go to activity4 and be able to use the data from Activity2. So is there another way i can pass the data to activity4 without being forced to start it? Im talking about something like for example "sessionStorage.set("",)" in Javascript/JQuery.
I hope my question isn't too confusing and thank you in advance.