ArrayAdapter<MyClass> attaching to a View
<p>Good Morning,</p>

<p>I seem to be missing one piece of information (still learning on my first Android app) connecting an ArrayAdapter to a view. I create a Class we'll call MyInfoClass which is just some properties for holding data. I populate the class with rows of data and in the end I have an ArrayList(MyInfoClass>.
So far so good, everything looks great, and values are as I expect them in the Debug perspective.</p>

<p>I also have an XML layout that has some TextViews on it. I want to use this layout for displaying the different "sets of data" held in ArrayList(MyInfoClass>. I understand that to do this I would use an ArrayAdapter and I do so with the following line:</p>

<pre><code>ArrayAdapter&lt;MyInfoClass&gt; X = new ArrayAdapter&lt;MyInfoClass&gt;(this, R.layout.main, R.id.txtvw_PrevLift, ld_data);
</code></pre>

<p>(ld_data is the ArrayList(MyInfoClass> object)</p>

<p>My confusion comes from...well from not knowing what I'm doing, but anyway it comes from not understanding how to connect the properties of MyInfoClass to their corresponding TextView. The ArrayAdapter documentation doesn't show a constructor that takes a List of TextView id's????</p>

<p>Thank You for your help.
JB</p>

<p>To help clear up my confusion I don't bind to a list....maybe I should? I was just wanting to have an entire view represent one row of data. I've trimmed alot of code for readability but here is my view. Some of the text views are static labels and other would get populated. The buttons are for navigation back and forth.</p>

<pre><code>&lt;RelativeLayout....&gt;

    &lt;ImageView
        android:id=.../&gt;

    &lt;TextView
        android:id=.../&gt;

    &lt;ImageView
        android:id=.../&gt;


    &lt;TextView
        android:id=.../&gt;

    &lt;TextView
        android:id=.../&gt;

    &lt;TextView
        android:id=.../&gt;

    &lt;Button
        android:id=.../&gt;

    &lt;Button
        android:id=.../&gt;

&lt;/RelativeLayout&gt;
</code></pre>
