OpenChannelModerationFragment

open class OpenChannelModerationFragment : BaseModuleFragment<MT, VM>

Fragment displaying the menu list to control the open channel. It will be displayed if the participant is an operator. since 3.1.0

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
protected open fun getChannelUrl(): String
Returns the URL of the channel with the required data to use this fragment.
Link copied to clipboard
protected open fun onBeforeReady(    @NonNull status: ReadyStatus,     @NonNull module: OpenChannelModerationModule,     @NonNull viewModel: OpenChannelModerationViewModel)
After authenticate ()} is finished, onReady will be called with the result of authentication and all preparations will be ready to use.
Link copied to clipboard
protected open fun onBindHeaderComponent(    @NonNull headerComponent: HeaderComponent,     @NonNull viewModel: OpenChannelModerationViewModel,     @Nullable openChannel: OpenChannel)
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onBindModerationListComponent(    @NonNull moderationListComponent: OpenChannelModerationListComponent,     @NonNull viewModel: OpenChannelModerationViewModel,     @Nullable openChannel: OpenChannel)
Called to bind events to the ModerationListComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: OpenChannelModerationModule, @NonNull args: Bundle)
Called to initialize the module's params or components' params.
Link copied to clipboard
protected open fun onCreateModule(@NonNull args: Bundle): OpenChannelModerationModule
Called to do initial creation of a module.
Link copied to clipboard
protected open fun onCreateViewModel(): OpenChannelModerationViewModel
Called to do initial creation of a view model.
Link copied to clipboard
protected open fun onReady(    @NonNull status: ReadyStatus,     @NonNull module: OpenChannelModerationModule,     @NonNull viewModel: OpenChannelModerationViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
protected open fun shouldDismissLoadingDialog()
It will be called when the loading dialog needs dismissing.
Link copied to clipboard
protected open fun shouldShowLoadingDialog(): Boolean
It will be called when the loading dialog needs displaying.