@Override
  public int getSize() {
    return mSrcArray.length;
  }
This is the implementation of a SimpleAdapter which reads data from an array resource
samples/scrollperf/src/main/java/com/facebook/samples/scrollperf/data/impl/LocalResourceSimpleAdapter.java