public final void clear(){
  items.clear();
  iconCount=0;
  dividerCount=0;
  if (rawItems != null) {
    rawItems.clear();
  }
  notifyOnDataSetChanged();
}

public final void clear ( ) { items . clear ( ) ; iconCount = 0 ; dividerCount = 0 ; if ( rawItems != null ) { rawItems . clear ( ) ; } notifyOnDataSetChanged ( ) ; }
removes all items from the adapter .
