ChannelSettingsFragment

Fragment displaying the information of GroupChannel.

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 leaveChannel()
Leaves this channel.
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: ChannelSettingsModule, @NonNull viewModel: ChannelSettingsViewModel)
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 onBeforeUpdateGroupChannel(@NonNull params: GroupChannelUpdateParams)
It will be called before updating group channel.
Link copied to clipboard
protected open fun onBindHeaderComponent(@NonNull headerComponent: ChannelSettingsHeaderComponent, @NonNull viewModel: ChannelSettingsViewModel, @Nullable channel: GroupChannel)
Called to bind events to the ChannelSettingsHeaderComponent.
Link copied to clipboard
protected open fun onBindSettingsInfoComponent(@NonNull infoComponent: ChannelSettingsInfoComponent, @NonNull viewModel: ChannelSettingsViewModel, @Nullable channel: GroupChannel)
Called to bind events to the ChannelSettingsInfoComponent.
Link copied to clipboard
protected open fun onBindSettingsMenuComponent(@NonNull menuComponent: ChannelSettingsMenuComponent, @NonNull viewModel: ChannelSettingsViewModel, @Nullable channel: GroupChannel)
Called to bind events to the ChannelSettingsMenuComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: ChannelSettingsModule, @NonNull args: Bundle)
Called to initialize the module's params or components' params.
Link copied to clipboard
Called to do initial creation of a module.
Link copied to clipboard
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: ChannelSettingsModule, @NonNull viewModel: ChannelSettingsViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
It will be called when the loading dialog needs dismissing.
Link copied to clipboard
It will be called when the loading dialog needs displaying.
Link copied to clipboard
protected open fun updateGroupChannel(@NonNull params: GroupChannelUpdateParams)
Update this channel with GroupChannelParams.