Class MediaAttachmentsViewHolder
-
- All Implemented Interfaces:
public final class MediaAttachmentsViewHolder extends DecoratedBaseMessageItemViewHolder<MessageListItem.MessageItem>
ViewHolder used for displaying messages that contain image and/or video attachments.
-
-
Field Summary
Fields Modifier and Type Field Description private final MessageViewStyle<AudioRecordPlayerViewStyle>audioRecordViewStyleprivate final <Error class: unknown class>bindingpublic final ViewitemView
-
Method Summary
Modifier and Type Method Description final MessageViewStyle<AudioRecordPlayerViewStyle>getAudioRecordViewStyle()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)UnitonAttachedToWindow()Called when this view holder and its' view were attached to window. Unitunbind()-
Methods inherited from class io.getstream.chat.android.ui.feature.messages.list.adapter.BaseMessageItemViewHolder
onDetachedFromWindow -
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
-
getAudioRecordViewStyle
final MessageViewStyle<AudioRecordPlayerViewStyle> getAudioRecordViewStyle()
-
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)
-
onAttachedToWindow
Unit onAttachedToWindow()
Called when this view holder and its' view were attached to window.
-
-
-
-