title: Get clicked item: Android
body: <p>I have a dynamically inflated layout.</p>
  
  <pre><code>&lt;TableLayout&gt;
     &lt;!-- Two more tablelayout here --&gt;
     &lt;ScrollView&gt;
        &lt;TableLayout&gt;
           &lt;!-- Here a tablerow is added using inflate layout --&gt;
        &lt;TableLayout&gt;
     &lt;/ScrollView&gt;
   &lt;/TableLayout&gt;
  </code></pre>
  
  <p>The layout for the table row looks like this.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TableRow xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent" 
  style="@style/savedItemRow"&gt;
  
  &lt;TableLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
      &lt;TextView 
          style="@style/textviewSaved"
          android:id="@+id/text_item"/&gt;
      &lt;TextView
              android:id="@+id/text_item_responce"
              style="@style/textviewSavedSub" /&gt;
  
  &lt;/TableLayout&gt;
  &lt;/TableRow&gt;
  </code></pre>
  
  <p>I would like listen when the text_item id is clicked (Keeping in mind that I have dynamically created tablerows created at run time).</p>
  
  <p>I am an android noob. I am not sure if I asked the question the right way. I want to get the click item's properties somehow during run time so I can manipulate them. Thank you.</p>