How to get the view which triggered the event in Android?
<p>Do you know how can I get the view which triggered an event? 
 By example:</p>

<pre><code>    final AutoCompleteTextView edtxInput = (AutoCompleteTextView)layout.findViewById(R.id.edtx_input);  
    edtxInput.setThreshold(2);
    edtxInput.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView&lt;?&gt; parent, View arg1, int position, long arg3) {
            Console.debug(TAG, "view: " + arg1, Console.Liviu);             
            edtxInput.setText(((FormOption)edtxInput.getAdapter().getItem(position)).getDescription());
        }
    });
</code></pre>

<p>The problem here is that I don't know how I can update the text from edtxInput in OnItemClickListener without making it final.</p>

<p>Thanks</p>
