Constructors

Link copied to clipboard
constructor(itemView: View)

Properties

Link copied to clipboard
lateinit var data: T

The data that was last bound to this ViewHolder via bindData. Can be used for listeners that need to pass along the currently bound data as a parameter.

Inherited properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun bindData(data: T, diff: MessageListItemPayloadDiff)
Link copied to clipboard

Returns the Message container that we can use to anchor UI based on its size and position.

Link copied to clipboard

Called when this view holder and its' view were attached to window.

Link copied to clipboard

Called when this view holder and its' view were detached from window.

Link copied to clipboard
open fun unbind()

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String