create Open Channel View Holder
open fun createOpenChannelViewHolder(@NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @NonNull viewType: MessageType, @NonNull messageListUIParams: MessageListUIParams): MessageViewHolder
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
view Type
The type of message you want to create
message List UIParams
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
view Type
The type of message you want to create
use Message Group UI
Whether to show the view holder as a grouped message UI