arch-android

//Android/br.com.arch.toolkit.android.recyclerAdapter/BaseViewHolder

BaseViewHolder

class BaseViewHolder(view: ERROR CLASS: Symbol not found for View) : RecyclerView.ViewHolder

A basic RecyclerView.ViewHolder implementation used by BaseRecyclerAdapter.

Parameters

android

   
view The root view of the item.

Constructors

   
BaseViewHolder [android]
constructor(view: ERROR CLASS: Symbol not found for View)

Properties

Name Summary
absoluteAdapterPosition [android]
val absoluteAdapterPosition: Int
adapterPosition [android]
val adapterPosition: Int
bindingAdapter [android]
@get:Nullable
val bindingAdapter: RecyclerView.Adapter<out RecyclerView.ViewHolder?>?
bindingAdapterPosition [android]
val bindingAdapterPosition: Int
isRecyclable [android]
val isRecyclable: Boolean
itemId [android]
val itemId: Long
itemView [android]
@NonNull
val itemView: @EnhancedNullability android/view/View
itemViewType [android]
val itemViewType: Int
layoutPosition [android]
val layoutPosition: Int
oldPosition [android]
val oldPosition: Int
position [android]
val position: Int

Functions

Name Summary
setIsRecyclable [android]
fun setIsRecyclable(recyclable: Boolean)