onCreateViewHolder

abstract fun onCreateViewHolder(parent: ViewGroup, viewType: Int): T

The same function as onCreateViewHolder.