getRecycledView

@Nullable
open fun getRecycledView(viewType: Int): @Nullable RecyclerView.ViewHolder

Acquire a ViewHolder of the specified type from the pool, or null if none are present.

Return

ViewHolder of the specified type acquired from the pool, or null if none are present.

Parameters

viewType

ViewHolder type.