Channel List Fragment
Fragment displaying the list of channels.
Types
Functions
Link copied to clipboard
Returns the title of the context menu.
Link copied to clipboard
Leaves this channel.
Link copied to clipboard
Makes the context menu for the channel.
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: ChannelListModule, @NonNull viewModel: ChannelListViewModel)
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 onBindChannelListComponent(@NonNull channelListComponent: ChannelListComponent, @NonNull viewModel: ChannelListViewModel)
Called to bind events to the ChannelListComponent.
Link copied to clipboard
protected open fun onBindHeaderComponent(@NonNull headerComponent: HeaderComponent, @NonNull viewModel: ChannelListViewModel)
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: ChannelListViewModel)
Called to bind events to the StatusComponent.
Link copied to clipboard
protected open fun onChannelContextMenuItemClicked(@NonNull channel: GroupChannel, @NonNull view: View, position: Int, @NonNull item: DialogListItem): Boolean
It will be called when the message context menu was clicked.
Link copied to clipboard
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 onItemClicked(@NonNull view: View, position: Int, @NonNull channel: GroupChannel)
Called when the item of the channel list is clicked.
Link copied to clipboard
protected open fun onItemLongClicked(@NonNull view: View, position: Int, @NonNull channel: GroupChannel)
Called when the item of the channel list is long-clicked.
Link copied to clipboard
protected open fun onReady(@NonNull status: ReadyStatus, @NonNull module: ChannelListModule, @NonNull viewModel: ChannelListViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
A callback that selected channel types.
Link copied to clipboard