FeedbackViewHolder

open class FeedbackViewHolder : RecyclerView.ViewHolder

A ViewHolder describes a Feedback category view and metadata about its place within the RecyclerView.

Constructors

FeedbackViewHolder
Link copied to clipboard
open fun FeedbackViewHolder(itemView: View)

Functions

addChangePayload
Link copied to clipboard
open fun addChangePayload(payload: Any)
addFlags
Link copied to clipboard
open fun addFlags(flags: 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()
createPayloadsIfNeeded
Link copied to clipboard
open fun createPayloadsIfNeeded()
doesTransientStatePreventRecycling
Link copied to clipboard
open fun doesTransientStatePreventRecycling(): Boolean
flagRemovedAndOffsetPosition
Link copied to clipboard
open fun flagRemovedAndOffsetPosition(mNewPosition: Int, offset: Int, applyToPreLayout: Boolean)
getAdapterPosition
Link copied to clipboard
fun getAdapterPosition(): 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
getPosition
Link copied to clipboard
fun getPosition(): Int
getUnmodifiedPayloads
Link copied to clipboard
open fun getUnmodifiedPayloads(): List<Any>
hasAnyOfTheFlags
Link copied to clipboard
open fun hasAnyOfTheFlags(flags: 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(offset: Int, applyToPreLayout: Boolean)
onEnteredHiddenState
Link copied to clipboard
open fun onEnteredHiddenState(parent: RecyclerView)
onLeftHiddenState
Link copied to clipboard
open fun onLeftHiddenState(parent: 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(flags: Int, mask: Int)
setIsRecyclable
Link copied to clipboard
fun setIsRecyclable(recyclable: Boolean)
setScrapContainer
Link copied to clipboard
open fun setScrapContainer(recycler: RecyclerView.Recycler, isChangeScrap: 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 fun toString(): String
unScrap
Link copied to clipboard
open fun unScrap()
wasReturnedFromScrap
Link copied to clipboard
open fun wasReturnedFromScrap(): Boolean

Properties

feedbackImage
Link copied to clipboard
private open var feedbackImage: ImageView
feedbackText
Link copied to clipboard
private open var feedbackText: TextView