@Override
        public int getSize() {
          return (srcAdapter.getSize() == 0) ? 0 : Integer.MAX_VALUE;
        }
This creates an infinite version of the given SimpleAdapter setting

@param srcAdapter The source SimpleAdapter
@param <E> The parameter type for this SimpleAdapter
@return The infinite version of this SimpleAdapter
samples/scrollperf/src/main/java/com/facebook/samples/scrollperf/data/SimpleAdapter.java