Adding a new activity using Intents, but I'm only using one instance?
<p>I have three buttons sending different variables to an activity:</p>

<pre><code>Intent i = new Intent(getApplicationContext(),PhotosActivity.class);
i.putExtra("DISPLAY_ID", theVenue.displayId);
i.putExtra("ID", theVenue.id);

startActivityForResult(i, 0);
</code></pre>

<p>This worked great when in the PhotosActivity I loaded in the data every single time the activity was accessed. However, to make things more efficient, I implemented static variables to store the data and only load once.</p>

<pre><code>private static List&lt;SingleEvent&gt; cachedObject;
</code></pre>

<p>The problem is that it stores the data for only the first button clicked. It is apparent to me that I'm not using three instances of PhotosActivity, but only one.</p>

<p>How can I create three separate instances of PhotosActivity and add them as separate activities?</p>
