title: How to send value of ArrayList<HashMap<String, Object>> from one to another activity
body: <p><strong>This is ListView</strong></p>
  
  <pre><code>&lt;LinearLayout
     … &gt;
      &lt;ListView
          android:id="@+id/listView1" &gt;
      &lt;/ListView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>and 3 item at the сell</strong></p>
  
  <pre><code>&lt;TextView
              android:id="@+id/text1" /&gt;
  &lt;TextView
              android:id="@+id/text2" /&gt;
  &lt;Button
              android:id="@+id/button1"/&gt;
  </code></pre>
  
  <p><strong>This is code</strong></p>
  
  <pre><code>public class Spisok extends Activity {
  
      private ArrayList&lt;HashMap&lt;String, Object&gt;&gt; Irr;
      private static final String Form1 = "form1"; // Форма1
      private static final String Form2 = "form2"; // Форма2
      private static final String Form3 = "form3"; // Форма3
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          setContentView(R.layout.activity_spisok);
          setTitle("Irr");
  
          ListView listView = (ListView) findViewById(R.id.listView1);
  
          // создаем массив списков
          Irr = new ArrayList&lt;HashMap&lt;String, Object&gt;&gt;();
          HashMap&lt;String, Object&gt; hm;
  
          hm = new HashMap&lt;String, Object&gt;();
          hm.put(Form1, "1");
          hm.put(Form2, "2");
          hm.put(Form3, "3");
          Irr.add(hm);
  
          hm = new HashMap&lt;String, Object&gt;();
          hm.put(Form1, "1");
          hm.put(Form2, "2");
          hm.put(Form3, "3");
          Irr.add(hm);
  
          SimpleAdapter adapter = new SimpleAdapter(this, Irr,
                  R.layout.list_item, new String[] { Form1, Form2, Form3 },
                  new int[] { R.id.text1, R.id.text2, R.id.text3 });
          listView.setAdapter(adapter);
  
      listView.setOnItemClickListener(new OnItemClickListener() {
  
      @Override
      public void onItemClick(AdapterView&lt;&gt; arg0, View arg1, int arg2,
              long arg3) {
      Intent intent = new Intent(this, New.class);
      intent.putExtra("arraylist", Irr);
      startActivity
      }
  });
  </code></pre>
  
  <p><strong>and this:</strong></p>
  
  <pre><code>ArrayList&lt;HashMap&lt;String, String&gt;&gt; arl = (ArrayList&lt;HashMap&lt;String, String&gt;&gt;)     getIntent().getSerializableExtra("arraylist");
  
      TextView Info = (TextView)findViewById(R.id.text9);
      Info.setText("view" +Irr); }
  </code></pre>
  
  <p><strong>But it is work as wrong. When I use it, I have all ArrayList in the new Activity</strong></p>
  
  <pre><code> intent.putExtra("arraylist", Irr);
  </code></pre>
  
  <p><strong>I need have only "hm.put(Form3, "3");" (correctly only "3" value) in my NewActivity.
  Help me to consist it correctly.</strong></p>