onBindMessageListComponent

protected open fun onBindMessageListComponent(@NonNull messageListComponent: MessageListComponent, @NonNull viewModel: ChannelViewModel, @Nullable channel: GroupChannel)

Called to bind events to the MessageListComponent and also bind ChannelViewModel. This is called from onBeforeReady regardless of the value of ReadyStatus.

Parameters

messageListComponent

The component to which the event will be bound

viewModel

A view model that provides the data needed for the fragment

channel

The GroupChannel that contains the data needed for this fragment since 3.0.0