title: Android List View remove all items
body: <p>How can I remove all items in my ListView? I have custom adapter and I run this code to remove all the items, but it's not working:</p>
  
  <pre><code>friendList = new ArrayList&lt;FriendRow&gt;();
  //Later i call this to remove all the items.
  friendList.clear();
  adapter.notifyDataSetChanged();
  </code></pre>