Message View Holder Factory
A Factory manages a type of messages.
Functions
Link copied to clipboard
open fun createOpenChannelViewHolder(@NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @NonNull viewType: MessageType, useMessageGroupUI: Boolean): MessageViewHolder
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
.Link copied to clipboard
open fun createViewHolder(@NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @NonNull viewType: MessageType, useMessageGroupUI: Boolean): MessageViewHolder
open fun createViewHolder(@NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @NonNull viewType: MessageType, @NonNull messageListUIParams: MessageListUIParams): MessageViewHolder
Create a view holder that matches MessageType for
GroupChannel
.Link copied to clipboard
Return the type of message as MessageType.
Link copied to clipboard
Return the type of message as an integer.