Class CustomAttachmentsViewHolder
-
- All Implemented Interfaces:
public final class CustomAttachmentsViewHolder extends DecoratedBaseMessageItemViewHolder<MessageListItem.MessageItem>
ViewHolder used for displaying messages that contain custom attachments.
-
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>getBinding()ViewmessageContainerView()Returns the Message container that we can use to anchor UI based on its size and position. UnitbindData(MessageListItem.MessageItem data, MessageListItemPayloadDiff diff)Unitunbind()Called when a view in this ViewHolder has been recycled. UnitonDetachedFromWindow()Called when a view in this ViewHolder has been attached to a window. UnitonAttachedToWindow()Called when a view in this ViewHolder has been detached from its window. -
Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder
getAbsoluteAdapterPosition, getAdapterPosition, getBindingAdapter, getBindingAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBinding
final <Error class: unknown class> getBinding()
-
messageContainerView
View messageContainerView()
Returns the Message container that we can use to anchor UI based on its size and position.
-
bindData
Unit bindData(MessageListItem.MessageItem data, MessageListItemPayloadDiff diff)
-
onDetachedFromWindow
Unit onDetachedFromWindow()
Called when a view in this ViewHolder has been attached to a window.
-
onAttachedToWindow
Unit onAttachedToWindow()
Called when a view in this ViewHolder has been detached from its window.
-
-
-
-