title: Combining ArrayList<String> and ArrayList<Integer> into One Adapter and List View
body: <pre><code>    ArrayList&lt;String&gt; stepsList = new ArrayList&lt;&gt;();
  ArrayList&lt;Integer&gt; stepsPosList = new ArrayList&lt;&gt;();
  
   stepsAdapter = new ArrayAdapter&lt;String&gt;(this,R.layout.steps_item,R.id.etStepsDetails,stepsList);
      stepsAdapter2 = new ArrayAdapter&lt;Integer&gt;(this,R.layout.steps_item,R.id.tvStepsPosition,stepsPosList);
  
  
      stepsView.setAdapter(stepsAdapter);
      stepsView2.setAdapter(stepsAdapter2);
  </code></pre>
  <p>Is it possible to combine the 2 array adapter into 1? The layout is on the same page but I need 2 id and 2 array list into each. and then call the list view.</p>
  <p>POJO CLASS</p>
  <pre><code>public class CombineData {
  
  ArrayList&lt;String&gt; stepsList;
  ArrayList&lt;Integer&gt; stepsPosList;
  
  public CombineData(ArrayList&lt;String&gt; stepsList,ArrayList&lt;Integer&gt; stepsPosList){
      this.stepsList = stepsList;
      this.stepsPosList = stepsPosList;
  }
  
  public CombineData(){
  
  }
  
  public ArrayList&lt;String&gt; getStepsList() {
      return stepsList;
  }
  
  public void setStepsList(ArrayList&lt;String&gt; stepsList) {
      this.stepsList = stepsList;
  }
  
  public ArrayList&lt;Integer&gt; getStepsPosList() {
      return stepsPosList;
  }
  
  public void setStepsPosList(ArrayList&lt;Integer&gt; stepsPosList) {
      this.stepsPosList = stepsPosList;
  }
  </code></pre>
  <p>}</p>
  <p>THIS LINE SHOWS AN ERROR : CANNOT RESOLVE CONSTRUCTOR ARRAYADAPTER... int,int,ArrayList</p>
  <pre><code>        stepsAdapter = new ArrayAdapter&lt;CombineData&gt;(this,R.layout.steps_item,R.id.etStepsDetails,stepsList);
  </code></pre>