AbstractViewHolder

abstract class AbstractViewHolder<in T>(view: View) : RecyclerView.ViewHolder

Functions

addChangePayload
Link copied to clipboard
open fun addChangePayload(p0: Any)
addFlags
Link copied to clipboard
open fun addFlags(p0: Int)
clearOldPosition
Link copied to clipboard
open fun clearOldPosition()
clearPayload
Link copied to clipboard
open fun clearPayload()
clearReturnedFromScrapFlag
Link copied to clipboard
open fun clearReturnedFromScrapFlag()
clearTmpDetachFlag
Link copied to clipboard
open fun clearTmpDetachFlag()
doesTransientStatePreventRecycling
Link copied to clipboard
open fun doesTransientStatePreventRecycling(): Boolean
flagRemovedAndOffsetPosition
Link copied to clipboard
open fun flagRemovedAndOffsetPosition(p0: Int, p1: Int, p2: Boolean)
getAbsoluteAdapterPosition
Link copied to clipboard
fun getAbsoluteAdapterPosition(): Int
getBindingAdapter
Link copied to clipboard
getBindingAdapterPosition
Link copied to clipboard
fun getBindingAdapterPosition(): Int
getItemId
Link copied to clipboard
fun getItemId(): Long
getItemViewType
Link copied to clipboard
fun getItemViewType(): Int
getLayoutPosition
Link copied to clipboard
fun getLayoutPosition(): Int
getOldPosition
Link copied to clipboard
fun getOldPosition(): Int
getUnmodifiedPayloads
Link copied to clipboard
open fun getUnmodifiedPayloads(): MutableList<Any>
hasAnyOfTheFlags
Link copied to clipboard
open fun hasAnyOfTheFlags(p0: Int): Boolean
isAdapterPositionUnknown
Link copied to clipboard
open fun isAdapterPositionUnknown(): Boolean
isAttachedToTransitionOverlay
Link copied to clipboard
open fun isAttachedToTransitionOverlay(): Boolean
isBound
Link copied to clipboard
open fun isBound(): Boolean
isInvalid
Link copied to clipboard
open fun isInvalid(): Boolean
isRecyclable
Link copied to clipboard
fun isRecyclable(): Boolean
isRemoved
Link copied to clipboard
open fun isRemoved(): Boolean
isScrap
Link copied to clipboard
open fun isScrap(): Boolean
isTmpDetached
Link copied to clipboard
open fun isTmpDetached(): Boolean
isUpdated
Link copied to clipboard
open fun isUpdated(): Boolean
needsUpdate
Link copied to clipboard
open fun needsUpdate(): Boolean
offsetPosition
Link copied to clipboard
open fun offsetPosition(p0: Int, p1: Boolean)
onBind
Link copied to clipboard
abstract fun onBind(item: T)
onEnteredHiddenState
Link copied to clipboard
open fun onEnteredHiddenState(p0: RecyclerView)
onLeftHiddenState
Link copied to clipboard
open fun onLeftHiddenState(p0: RecyclerView)
resetInternal
Link copied to clipboard
open fun resetInternal()
saveOldPosition
Link copied to clipboard
open fun saveOldPosition()
setFlags
Link copied to clipboard
open fun setFlags(p0: Int, p1: Int)
setIsRecyclable
Link copied to clipboard
fun setIsRecyclable(p0: Boolean)
setScrapContainer
Link copied to clipboard
open fun setScrapContainer(p0: RecyclerView.Recycler, p1: Boolean)
shouldBeKeptAsChild
Link copied to clipboard
open fun shouldBeKeptAsChild(): Boolean
shouldIgnore
Link copied to clipboard
open fun shouldIgnore(): Boolean
stopIgnoring
Link copied to clipboard
open fun stopIgnoring()
toString
Link copied to clipboard
open override fun toString(): String
unScrap
Link copied to clipboard
open fun unScrap()
wasReturnedFromScrap
Link copied to clipboard
open fun wasReturnedFromScrap(): Boolean

Properties

itemView
Link copied to clipboard
val itemView: View
mBindingAdapter
Link copied to clipboard
val mBindingAdapter: RecyclerView.Adapter<out RecyclerView.ViewHolder>
mFlags
Link copied to clipboard
val mFlags: Int
mInChangeScrap
Link copied to clipboard
val mInChangeScrap: Boolean
mItemId
Link copied to clipboard
val mItemId: Long
mItemViewType
Link copied to clipboard
val mItemViewType: Int
mNestedRecyclerView
Link copied to clipboard
val mNestedRecyclerView: WeakReference<RecyclerView>
mOldPosition
Link copied to clipboard
val mOldPosition: Int
mOwnerRecyclerView
Link copied to clipboard
val mOwnerRecyclerView: RecyclerView
mPayloads
Link copied to clipboard
val mPayloads: MutableList<Any>
mPendingAccessibilityState
Link copied to clipboard
val mPendingAccessibilityState: Int
mPosition
Link copied to clipboard
val mPosition: Int
mPreLayoutPosition
Link copied to clipboard
val mPreLayoutPosition: Int
mScrapContainer
Link copied to clipboard
val mScrapContainer: RecyclerView.Recycler
mShadowedHolder
Link copied to clipboard
val mShadowedHolder: RecyclerView.ViewHolder
mShadowingHolder
Link copied to clipboard
val mShadowingHolder: RecyclerView.ViewHolder
mUnmodifiedPayloads
Link copied to clipboard
val mUnmodifiedPayloads: MutableList<Any>

Inheritors

AbstractStandardViewHolder
Link copied to clipboard