Class FileAttachmentsViewHolder
-
- All Implemented Interfaces:
public final class FileAttachmentsViewHolder extends DecoratedBaseMessageItemViewHolder<MessageListItem.MessageItem>
ViewHolder that displays message items containing file attachments.
Note: This ViewHolder is used in situations where the message either contains multiple attachment types or a single attachment type that does not have a designated ViewHolder.
You can see the full list of ViewHolders in io.getstream.chat.android.ui.feature.messages.list.adapter.MessageListItemViewHolderFactory.
-
-
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)Binds the data to the view. -
Methods inherited from class io.getstream.chat.android.ui.feature.messages.list.adapter.BaseMessageItemViewHolder
onAttachedToWindow, onDetachedFromWindow, unbind -
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)
Binds the data to the view.
-
-
-
-