@Override
    public Entry getItem(int position) {
      return mEntries[position];
    }
This fragment displays different XML images.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/xml/ImageFormatXmlFragment.java