title: Which way is better for pass a large list of data from one activity to another activity - android?
body: <p>I need to pass a large list of data from one <code>activity</code> to another <code>activity</code>,which way is better?</p>
  
  <p>First way(for example):</p>
  
  <pre><code>ArrayList&lt;myModel&gt; myList = new ArrayList&lt;myModel&gt;();
  intent.putExtra("mylist", myList);
  </code></pre>
  
  <p>Second way(for example) :</p>
  
  <pre><code>ActivityTwo act = new ActivityTwo();
  act.getDataMethod(listValues);
  Intent i = new Intent(this, ActivityTwo.class);
  startActivity(i);
  </code></pre>
  
  <p>And in another <code>activity</code>(ActivityTwo) I get data from <code>getDataMethod</code>.</p>