title: separate the string and number from list in android
body: <p>i want to split the mProductType is one list and mRetailerid is another list.how can i get it ????</p>
  
  <pre><code>public class RetailerNames implements Serializable{
  
  
  private String mProductType;
  private String mRetailerid;
  
  public String getmProductType() {
      return mProductType;
  }
  
  public void setmProductType(String mProductType) {
      this.mProductType = mProductType;
  }
  
  public String getmRetailerid() {
      return mRetailerid;
  }
  
  public void setmRetailerid(String mRetailerid) {
      this.mRetailerid = mRetailerid;
  }
  @Override
     public String toString() {
      return   mProductType + "," +
              mRetailerid ;  
  
  }
  </code></pre>
  
  <p>I have used below code :</p>
  
  <pre><code>    ArrayList&lt;RetailerNames&gt; retailerNamesList = (ArrayList&lt;RetailerNames&gt;) getIntent().getExtras().getSerializable("ProductsDetailsDescriptionPage");
      System.out.println("The retailer details are"+" "+retailerNamesList);
  </code></pre>
  
  <p>Now my current output is:</p>
  
  <p><strong>The retailer details are [Krish,48, Danesh,47]</strong></p>
  
  <p>But i want to get the <strong>one list like [Krish,Danesh] .and [48,47] is separate another list</strong>.How can i do ???</p>
  
  <p>please give me solution ???</p>
  
  <p>please give me a ideas to split the array list to separate list??? </p>