title: How to get the value of TextView from position int in a ListView?
body: <p>I have a <code>Button</code> which when clicked will execute an <code>addQty</code> method and in this method I need to set the value of a <code>TextView</code> on the same line as the <code>Button</code> was pressed. I have the <code>position</code> integer available to me but I cannot work out how to get the <code>TextView</code>.
  I have a custom <code>ArrayAdapter</code> which sets this in the <code>getView</code> method:</p>
  
  <pre><code>ImageButton plus = (ImageButton) v.findViewById(R.id.qtyPlus);
  plus.setTag(position);
  </code></pre>
  
  <p>My layout then does the following:</p>
  
  <pre><code>&lt;ImageButton
     android:id="@+id/qtyPlus"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:src="@drawable/plus"
     android:onClick="addQty" /&gt;
  </code></pre>
  
  <p>My <code>addQty</code> method:</p>
  
  <pre><code>public void addQty(View v) {
          int position = Integer.parseInt(v.getTag().toString());
  
          Item tmp = (Item)adapter.getItem(position);
          Log.d("MyApp",tmp.getName());
  
  }
  </code></pre>
  
  <p>This works as I am able to get the item object of the clicked row in the list, but how do I now set a <code>TextView</code> value in that <code>ListView</code> row?</p>