bind

open fun bind(@NonNull channel: BaseChannel, @NonNull message: BaseMessage, @NonNull params: MessageListUIParams)

Binds as item view and data.

Parameters

channel

Channel used for as item view.

message

Message used for as item view.

params

Params used for as item view. since 3.3.0


open fun bind(@NonNull channel: BaseChannel, @NonNull message: BaseMessage, @NonNull messageGroupType: MessageGroupType)

Deprecated

Binds as item view and data.

Deprecated

3.3.0

Use bind instead. When binding view holders, this method is still invoked. We recommend you implement only one bind() method.

Parameters

channel

Channel used for as item view.

message

Message used for as item view.

messageGroupType

The type of message group UI. since 1.2.1