OpenChannelSettingsFragment

open class OpenChannelSettingsFragment : BaseModuleFragment<MT, VM>

Fragment displaying the information of OpenChannel.

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
protected open fun deleteChannel()
Leaves this channel.
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: OpenChannelSettingsModule,     @NonNull viewModel: OpenChannelSettingsViewModel)
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 onBeforeUpdateOpenChannel(@NonNull params: OpenChannelUpdateParams)
It will be called before updating group channel.
Link copied to clipboard
protected open fun onBindHeaderComponent(    @NonNull headerComponent: OpenChannelSettingsHeaderComponent,     @NonNull viewModel: OpenChannelSettingsViewModel,     @Nullable channel: OpenChannel)
Called to bind events to the OpenChannelSettingsHeaderComponent.
Link copied to clipboard
protected open fun onBindSettingsInfoComponent(    @NonNull infoComponent: OpenChannelSettingsInfoComponent,     @NonNull viewModel: OpenChannelSettingsViewModel,     @Nullable channel: OpenChannel)
Called to bind events to the OpenChannelSettingsInfoComponent.
Link copied to clipboard
protected open fun onBindSettingsMenuComponent(    @NonNull menuComponent: OpenChannelSettingsMenuComponent,     @NonNull viewModel: OpenChannelSettingsViewModel,     @Nullable channel: OpenChannel)
Called to bind events to the OpenChannelSettingsMenuComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: OpenChannelSettingsModule, @NonNull args: Bundle)
Called to initialize the module's params or components' params.
Link copied to clipboard
protected open fun onCreateModule(@NonNull args: Bundle): OpenChannelSettingsModule
Called to do initial creation of a module.
Link copied to clipboard
protected open fun onCreateViewModel(): OpenChannelSettingsViewModel
Called to do initial creation of a view model.
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
protected open fun onReady(    @NonNull status: ReadyStatus,     @NonNull module: OpenChannelSettingsModule,     @NonNull viewModel: OpenChannelSettingsViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
open fun shouldDismissLoadingDialog()
It will be called when the loading dialog needs dismissing.
Link copied to clipboard
open fun shouldShowLoadingDialog(): Boolean
It will be called when the loading dialog needs displaying.
Link copied to clipboard
protected open fun updateOpenChannel(@NonNull params: OpenChannelUpdateParams)
Update this channel with OpenChannelParams.