@Override
    public int getItemViewType(int position) {
        if (position == 0 && mMediaConfig.isNeedCamera()) {
            return CAMERA_TYPE;
        }
        return NORMAL_TYPE;
    }
A RecyclerView.Adapter for image or video picker showing.

@author ChenSL
boxing-impl/src/main/java/com/bilibili/boxing_impl/adapter/BoxingMediaAdapter.java