title: Android - ListView - performItemClick
body: <p>I'm facing some difficults when I try to use the <strong>performItemClick</strong> funcion of the ListView.</p>
  
  <p>All I want to do is to perform a click programatically in the first item of the list.</p>
  
  <p>How can I do that? I looked up that function in the documentation, but I didn't really understand its parameters.</p>
  
  <p>I tried something like:</p>
  
  <pre><code> myListView.performItemClick(myListView.getChildAt(0), 0, myListView.getChildAt(0).getId());
  </code></pre>
  
  <p>But it didn't work <code>(myListView.getChildAt(0) returns null)</code></p>
  
  <p>Thank you in advance!</p>