@Override
    public Entry getItem(int position) {
      return mSpinnerEntries[position];
    }
GIF example that illustrates how to display a simple GIF file
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/gif/ImageFormatGifFragment.java