Code example for ArrayList

Methods: addAll

0
      return(items.size()<75);
    } 
 
    @Override 
    public void onItemsReady(ArrayList<Integer> data) {
      items.addAll(data);
      adapter.onDataReady(); // Tell the EndlessAdapter to
                             // remove it's pending 
                             // view and call 
                             // notifyDataSetChanged() 
    } 
 
    @Override 
    protected void appendCachedData() { 
    } 
  } 
 
  interface IItemsReadyListener { 
    public void onItemsReady(ArrayList<Integer> data);
  }