@Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        if (CAMERA_TYPE == viewType) {
            return new CameraViewHolder(mInflater.inflate(R.layout.layout_boxing_recycleview_header, parent, false));
        }
        return new ImageViewHolder(mInflater.inflate(R.layout.layout_boxing_recycleview_item, parent, false));
    }
A RecyclerView.Adapter for image or video picker showing.

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