FileAttachmentsViewHolder

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.

Parameters

parent

The parent container.

decorators

List of decorators applied to the ViewHolder.

messageTextTransformer

Formats strings and sets them on the respective TextView.

listeners

Listeners used by the ViewHolder.

binding

Binding generated for the layout.

Properties

Link copied to clipboard
val binding: <Error class: unknown class>

Inherited properties

Link copied to clipboard

Functions

Link copied to clipboard

Binds the data to the view.

Link copied to clipboard
open override fun messageContainerView(): View

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

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

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
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun unbind()