How to use addTextChangedListener in tablerow on click Listener
<p>I created dynamic tablelayout with 3 textview and 1 edittext in a single table row.
I tried to edit text in the edittext field and extract changed text.
I used addTextChangedListener in tablerow setOnclick listener method, but the addTextChangedListener method is not firing.</p>

<p>This is my Code:</p>

<pre><code>  EditText tvrowedit;


  tableRow.setOnClickListener(new View.OnClickListener() {


  public void onClick(View v) {

  final TableRow thisRow=(TableRow)v;


  tvrowedit=(EditText)thisRow.getChildAt(3);
  tvrowedit.addTextChangedListener(watcher);    

   }                            

TextWatcher watcher=new TextWatcher() {

    @Override
    public void onTextChanged(CharSequence s, int start, int before, int count) {
        // TODO Auto-generated method stub

    }

    @Override
    public void beforeTextChanged(CharSequence s, int start, int count,
            int after) {
        // TODO Auto-generated method stub

    }

    @Override
    public void afterTextChanged(Editable s) {
        // TODO Auto-generated method stub
        String name=tvrowedit.getText().toString();
        System.out.println(name);
    }
};
</code></pre>
