public void clearPartitions(){
  if (mSize == 0) {
    return;
  }
  for (int i=0; i < mSize; i++) {
    List<T> list=mPartitions[i].list;
    if (list != null) {
      list.clear();
      mPartitions[i].list=list=null;
    }
  }
  mSize=0;
  invalidate();
  notifyDataSetChanged();
}

public void clearPartitions ( ) { if ( mSize == 0 ) { return ; } for ( int i = 0 ; i < mSize ; i ++ ) { List < T > list = mPartitions [ i ] . list ; if ( list != null ) { list . clear ( ) ; mPartitions [ i ] . list = list = null ; } } mSize = 0 ; invalidate ( ) ; notifyDataSetChanged ( ) ; }
removes cursors for all partitions .
