public void build(RealmResults<T> results){
  int xIndex=0;
  for (  T object : results) {
    mValues.add(buildEntryFromResultObject(object,xIndex++));
  }
}

public void build ( RealmResults < T > results ) { int xIndex = 0 ; for ( T object : results ) { mValues . add ( buildEntryFromResultObject ( object , xIndex ++ ) ) ; } }
rebuilds the dataset based on the given realmresults .
