MemberListFragment

Fragment displaying the member list in the channel.

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
protected open fun getActionContextMenuTitle(@NonNull member: Member, @Nullable channel: GroupChannel): String
Returns the title of the member context menu.
Link copied to clipboard
protected open fun getChannelUrl(): String
Returns the URL of the channel with the required data to use this fragment.
Link copied to clipboard
protected open fun makeActionContextMenu(@NonNull member: Member, @Nullable channel: GroupChannel): List<DialogListItem>
Makes the context menu for the member.
Link copied to clipboard
protected open fun onActionContextMenuItemClicked(@NonNull member: Member, @NonNull item: DialogListItem, @Nullable channel: GroupChannel): Boolean
Called when the context menu item has been clicked.
Link copied to clipboard
protected open fun onActionItemClicked(@NonNull view: View, position: Int, @NonNull member: Member, @Nullable channel: GroupChannel)
Called when the action has been clicked.
Link copied to clipboard
protected open fun onBeforeReady(@NonNull status: ReadyStatus, @NonNull module: MemberListModule, @NonNull viewModel: MemberListViewModel)
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: MemberListViewModel, @Nullable channel: GroupChannel)
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onBindMemberListComponent(@NonNull listComponent: MemberListComponent, @NonNull viewModel: MemberListViewModel, @Nullable channel: GroupChannel)
Called to bind events to the MemberListComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: MemberListViewModel, @Nullable channel: GroupChannel)
Called to bind events to the StatusComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: MemberListModule, @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 onProfileClicked(@NonNull view: View, position: Int, @NonNull member: Member)
Called when the user profile has been clicked.
Link copied to clipboard
protected open fun onReady(@NonNull status: ReadyStatus, @NonNull module: MemberListModule, @NonNull viewModel: MemberListViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)
Link copied to clipboard
protected open fun shouldDismissLoadingDialog()
It will be called when the loading dialog needs dismissing.
Link copied to clipboard
protected open fun shouldShowLoadingDialog(): Boolean
It will be called when the loading dialog needs displaying.