public void replaceAll(List<T> newData){
  clearAll();
  if (newData == null) {
    newData=new ArrayList<>();
  }
  mDatas=newData;
  notifyItemRangeInserted(0,mDatas.size());
}

public void replaceAll ( List < T > newData ) { clearAll ( ) ; if ( newData == null ) { newData = new ArrayList < > ( ) ; } mDatas = newData ; notifyItemRangeInserted ( 0 , mDatas . size ( ) ) ; }
there will be a clear animation effects
