@ Override public RecyclerView . ViewHolder onPreCreateViewHolder ( FastAdapter < Item > fastAdapter , ViewGroup parent , int viewType ) { return fastAdapter . getTypeInstance ( viewType ) . getViewHolder ( parent ) ; }
is called inside the onCreateViewHolder method and creates the viewHolder based on the provided viewTyp