CreateChannelFragment

Fragment displaying the user list to create the channel.

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
protected open fun createGroupChannel(@NonNull params: GroupChannelCreateParams)
Creates GroupChannel with GroupChannelParams.
Link copied to clipboard
protected open fun getDisabledUserIds(): List<String>
Returns the lists of user ids that you want to disable.
Link copied to clipboard
protected open fun onBeforeCreateGroupChannel(@NonNull params: GroupChannelCreateParams)
It will be called before creating group channel.
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: CreateChannelModule, @NonNull viewModel: CreateChannelViewModel)
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: SelectUserHeaderComponent, @NonNull viewModel: CreateChannelViewModel)
Called to bind events to the SelectUserHeaderComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: CreateChannelViewModel)
Called to bind events to the StatusComponent.
Link copied to clipboard
Called to bind events to the CreateChannelUserListComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: CreateChannelModule, @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
protected open fun onNewChannelCreated(@NonNull channel: GroupChannel)
It will be called when the new channel has been created.
Link copied to clipboard
protected open fun onReady(@NonNull status: ReadyStatus, @NonNull module: CreateChannelModule, @NonNull viewModel: CreateChannelViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
protected open fun onUserSelectionCompleted(@NonNull selectedUsers: List<String>)
Called when the user selection completed.
Link copied to clipboard
open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)