title: How to pass ArrayList using putStringArrayListExtra()
body: <p>Hi I want to pass an <code>Arraylist</code> from one <code>activity</code> to another. I use <code>putStringArrayListExtra()</code>, but there shows an error : <code>"The method putStringArrayListExtra(String,ArrayList is undefined for the type bundle."</code> Is there any other method available for passing <code>ArrayList</code>?</p>
  
  <pre><code>String test[]=new String[3]; 
  ArrayList&lt;String[]&gt; al=new ArrayList&lt;String[]&gt;();  
  int x,y;
  test[0]="1";  
  test[1]="2";  
  test[2]="3";  
  al.add(test);  
  
  test = new String[3]; 
  test[0]="4";  
  test[1]="5";  
  test[2]="6";  
  al.add(test);  
  
  Bundle list_bundle=new Bundle(); 
  list_bundle.putStringArrayListExtra("lists",al); 
  Intent list_intent= new Intent(v.getContext(), view_all_selected.class); 
  list_intent.putExtras(list_bundle); 
  startActivityForResult(list_intent, 2); 
  </code></pre>