onBindHeaderComponent

protected open fun onBindHeaderComponent(    @NonNull headerComponent: HeaderComponent,     @NonNull viewModel: OpenChannelBannedUserListViewModel,     @Nullable openChannel: OpenChannel)

Called to bind events to the HeaderComponent. This is called from onBeforeReady regardless of the value of ReadyStatus.

Parameters

headerComponent

The component to which the event will be bound

viewModel

A view model that provides the data needed for the fragment

openChannel

The OpenChannel that contains the data needed for this fragment since 3.1.0