@Override
  public VitoViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
    final InstrumentedVitoView vitoViewHolder =
        new InstrumentedVitoView(mContext, VitoUtil.createImageOptions(mContext, mConfig), mConfig);
    vitoViewHolder.setPadding(mPaddingPx, mPaddingPx, mPaddingPx, mPaddingPx);
    return new VitoViewHolder(parent, vitoViewHolder, mConfig, mPerfListener);
  }
The RecyclerView.Adapter for the VitoView
samples/scrollperf/src/main/java/com/facebook/samples/scrollperf/fragments/recycler/VitoViewAdapter.java