How to make more than one listview respond for different onItemClickListener?
<p>I'm using 4list views with class extending Activity. I have to perform different list item click function. Can i use the following method code for it? Any Help is really appreciated and thanks in advance.</p>

<pre><code>   public void onItemClick(AdapterView&lt;?&gt; adapter, View view, int index, long id)
   { 
       switch(view.getId())
       {
          case &lt;listview1 Id&gt; : //call method 1; break;

          case &lt;listview2 Id&gt; : //call method 2; break;

          case &lt;listview3 Id&gt; : //call method 3; break;
       }
   }
</code></pre>
