Passing/Using non primitive objects between Activities
<p>I need to pass a List of my objects between activities. I do not want to use parcelable or serialize the data each time. I also do not want to save it in a local file or database. That probably leaves me with using static objects.</p>

<p>Lets say I to use ListA between activities Activity1 to Activity2. I ca</p>

<p>Approach1: Create a static ListA in one of those activities and do all my stuff of that static ListA.</p>

<p>Approach2: Create a static list in another class which I use just for storing this List and doing all my stuff on this list. But this means that this stays as long as my process is running and I have to manually set it to null when I do not need it.</p>

<p>Approach3. I am extending the above class to implement it using a static HashMap.
I have two methods one to store the list in a static HashMap using a unique key and another method to retrieve the list and remove it each time data is retrieved so that the List is no longer present in the static HashMap. So we essentially have to pass only the random key generated to store data between activities which I can pass as an extra using Intents.</p>

<p>Will there be any issues when I use any of the above approaches and which will be the best approach.</p>
