Channel List Fragment
Fragment displaying the list of channels.
Types
Functions
Link copied to clipboard
Leaves this channel.
Link copied to clipboard
protected open fun onBeforeReady( @NonNull status: ReadyStatus, @NonNull module: ChannelListModule, @NonNull viewModel: ChannelListViewModel)
Content copied to clipboard
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)
Content copied to clipboard
Called to bind events to the ChannelListComponent.
Link copied to clipboard
protected open fun onBindHeaderComponent(@NonNull headerComponent: HeaderComponent, @NonNull viewModel: ChannelListViewModel)
Content copied to clipboard
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: ChannelListViewModel)
Content copied to clipboard
Called to bind events to the StatusComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: ChannelListModule, @NonNull args: Bundle)
Content copied to clipboard
Called to initialize the module's params or components' params.
Link copied to clipboard
protected open fun onCreateModule(@NonNull args: Bundle): ChannelListModule
Content 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)
Content copied to clipboard
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)
Content copied to clipboard
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)
Content copied to clipboard
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
protected open fun onSelectedChannelType(@NonNull channelType: CreatableChannelType)
Content copied to clipboard
A callback that selected channel types.
Link copied to clipboard
open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)
Content copied to clipboard