createOpenChannelViewHolder

Create a view holder that matches MessageType for OpenChannel.

Return

Returns MessageViewHolder that matches MessageType. since 3.3.0

Parameters

inflater

Inflater that creates a view

parent

The parent view to which the view holder is attached

viewType

The type of message you want to create

messageListUIParams

The MessageListUIParams that contains drawing parameters


open fun createOpenChannelViewHolder(@NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @NonNull viewType: MessageType, useMessageGroupUI: Boolean): MessageViewHolder

Deprecated

Create a view holder that matches MessageType for OpenChannel.

Return

Returns MessageViewHolder that matches MessageType.

Deprecated

3.3.0

Parameters

inflater

Inflater that creates a view

parent

The parent view to which the view holder is attached

viewType

The type of message you want to create

useMessageGroupUI

Whether to show the view holder as a grouped message UI