Participant List Fragment
Fragment displaying the operators of the channel. since 1.2.0
Types
Functions
Link copied to clipboard
protected open fun getActionContextMenuTitle(@NonNull participant: User, @Nullable channel: OpenChannel): String
Returns the title of the user context menu.
Link copied to clipboard
Returns the URL of the channel with the required data to use this fragment.
Link copied to clipboard
protected open fun makeActionContextMenu(@NonNull participant: User, @Nullable channel: OpenChannel): List<DialogListItem>
Makes the context menu for the user.
Link copied to clipboard
protected open fun onActionContextMenuItemClicked(@NonNull participant: User, @NonNull item: DialogListItem, @Nullable channel: OpenChannel): Boolean
Called when the context menu item has been clicked.
Link copied to clipboard
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: ParticipantListModule, @NonNull viewModel: ParticipantViewModel)
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: HeaderComponent, @NonNull viewModel: ParticipantViewModel, @Nullable channel: OpenChannel)
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onBindParticipantsListComponent(@NonNull listComponent: ParticipantListComponent, @NonNull viewModel: ParticipantViewModel, @Nullable channel: OpenChannel)
Called to bind events to the ParticipantsListComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: ParticipantViewModel, @Nullable channel: OpenChannel)
Called to bind events to the StatusComponent.
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
Called when the user profile has been clicked.
Link copied to clipboard
protected open fun onReady(@NonNull status: ReadyStatus, @NonNull module: ParticipantListModule, @NonNull viewModel: ParticipantViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard