ViewHolder

open class ViewHolder(view: View) : RecyclerView.ViewHolder

Base implementation of ViewHolder for showing the cards. Extend this class to customise the view holder.

Author

Umang Chamaria

Since

1.0.0

Constructors

Link copied to clipboard
constructor(view: View)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Nullable
val bindingAdapter: RecyclerView.Adapter<out RecyclerView.ViewHolder?>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NonNull
val itemView: View
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun setIsRecyclable(recyclable: Boolean)