public void clear(){
synchronized (mLock) {
    mList.clear();
  }
  notifyDataSetChanged();
}

public void clear ( ) { synchronized ( mLock ) { mList . clear ( ) ; } notifyDataSetChanged ( ) ; }
remove all elements from the mlist .
