title: How to get string from arraylist
body: <p>I have problem with getting values from <code>ArrayList</code>. Eveyrhing I can do is get value like: <code>[Ljava.lang.string @....</code></p>
  
  <p>Can You help me please? I don't know what should be in the <code>mProductList.get(???)</code>. I want to have separated values from item clicked.</p>
  
  <pre><code>public class Activity1 extends Activity {
  private ListView lvProduct;
  private ProductListAdapter adapter;
  private List&lt;Product&gt; mProductList;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity1);
  
      lvProduct = (ListView)findViewById(R.id.listView1);
  
      mProductList = new ArrayList&lt;&gt;();
      mProductList.add(new Product(1, "Product_1", "Price", "Description"));
      mProductList.add(new Product(2, "Product_2", "Price", "Description"));
      mProductList.add(new Product(3, "Product_3", "Price", "Description"));
  
      adapter = new ProductListAdapter(getApplicationContext(), mProductList);
      lvProduct.setAdapter(adapter);
  
      lvProduct.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
              Intent newActivity = new Intent(getApplicationContext(), BrowseProduct.class);
              newActivity.putExtra("1st column value", mProductList.get(???));
              newActivity.putExtra("2nd column value", mProductList.get(???));
              newActivity.putExtra("3rd column value", mProductList.get(???));
              newActivity.putExtra("4th column value", mProductList.get(???));
              startActivity(newActivity);
          }
      });
  }
  </code></pre>
  
  <p>}</p>