title: android: smoothScrollToPosition() not working correctly
body: <p>I'm trying to smoothly scroll to last element of a list after adding an element to the arrayadapter associated with the listview.
  The problem is that it just scrolls to a random position</p>
  
  <pre><code>arrayadapter.add(item);
  //DOES NOT WORK CORRECTLY:
  listview.smoothScrollToPosition(arrayadapter.getCount()-1);
  
  //WORKS JUST FINE:
  listview.setSelection(arrayadapter.getCount()-1);
  </code></pre>