title: Short/Long press in a item of ListView
body: <p>I have a ListView with some items and I want to have different responses when I make an <code>itemClick</code> (short press) and an <code>itemLongClick</code> (long press):</p>
  
  <pre><code>       list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
             @Override
             public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                 //play file
             }
         });
  
         list.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {
             @Override
             public boolean onItemLongClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                 //Message 
                 Toast.makeText(getBaseContext(), "FILE: "+itemsFiles.get(position).getName(), Toast.LENGTH_LONG).show();
                 return false;
             }       
         });
  </code></pre>
  
  <p>When I make a short press (<code>onItemClick()</code>) my app works well and it plays the file.
  My problem is when I make a long press (<code>onItemLongClick()</code>) because it appears the message with Toast but it plays the file too, and I do not want to play the file in this case ... How I can solve it and correctly distinguish the two cases?</p>
  
  <p>Thanks a lot.</p>