title: remove items from listView android
body: <p>I have a ListView that contains list of events, when i scroll the list i load more items and always i souldn't have more than 20 events visible in my screen. So i proceed like this:</p>
  
  <pre><code>    //load data from server and add it to my eventsList
      int size = eventsList.size();
      List&lt;Data&gt; temp;
      if(size&gt;20) {
          eventsList = eventsList.subList(size - 20, size);
      }
  
      Log.e("eventsList Load More", " " + eventsList.size() + " " + principalSchedule.getCount());
  
      //Tell to the adapter that changes have been made, this will cause the list to refresh
      principalSchedule.notifyDataSetChanged();
  </code></pre>
  
  <p>but the problem i always have eventsList.size() = 20 and principalSchedule.getCount() does't decrease.</p>