simulate a click from onitemclick
<p>I already have an <code>onitemclickListener</code> and it works,</p>

<pre><code>list.setOnItemClickListener( new OnItemClickListener()
{
     public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int arg2, long arg3){
         ...
     }
});
</code></pre>

<p>however, I need to implement the same functionality from a different button.</p>

<p>How do I reference the <code>onitemclickListener</code> that already exists for my list ?</p>

<p>I don't want to copy all the code and use it again as it is about 500 lines.</p>
