OpenChannelSettingsModule

open class OpenChannelSettingsModule : BaseModule

A module for open channel settings. This module is composed of a header, channel information and settings. All composed components are created when the module is created. After than those components can replace.

since 3.0.0

Constructors

Link copied to clipboard
open fun OpenChannelSettingsModule(@NonNull context: Context)
Constructor
Link copied to clipboard
open fun OpenChannelSettingsModule(@NonNull context: Context, @NonNull params: OpenChannelSettingsModule.Params)
Constructor

Types

Link copied to clipboard
open class Params : BaseModule.Params

Functions

Link copied to clipboard
Returns the open channel information component.
Link copied to clipboard
Returns the settings menu component.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @Nullable args: Bundle): View
Called after the module was created to make views to use in the Fragment or Activity.
Link copied to clipboard
open fun <T : OpenChannelSettingsHeaderComponent?> setHeaderComponent(@NonNull component: T)
Sets a custom header component.
Link copied to clipboard
open fun setOnLoadingDialogHandler(@Nullable loadingDialogHandler: LoadingDialogHandler)
Sets the handler for the loading dialog.
Link copied to clipboard
open fun <T : OpenChannelSettingsInfoComponent?> setOpenChannelSettingsInfoComponent(@NonNull component: T)
Sets the open channel information component.
Link copied to clipboard
open fun <T : OpenChannelSettingsMenuComponent?> setOpenChannelSettingsMenuComponent(@NonNull component: T)
Sets the settings menu component.
Link copied to clipboard
open fun shouldDismissLoadingDialog()
It will be called when the loading dialog needs dismissing.
Link copied to clipboard
open fun shouldShowLoadingDialog(@NonNull context: Context): Boolean
It will be called when the loading dialog needs displaying.

Properties

Link copied to clipboard
open val headerComponent: OpenChannelSettingsHeaderComponent
Link copied to clipboard
open val loadingDialogHandler: LoadingDialogHandler
Link copied to clipboard
val params: OpenChannelSettingsModule.Params