BannedUserListModule

open class BannedUserListModule : BaseModule

A module for banned user list. This module is composed of a header, list, and status. All composed components are created when the module is created. After than those components can replace.

since 3.0.0

Constructors

Link copied to clipboard
open fun BannedUserListModule(@NonNull context: Context)
Constructor
Link copied to clipboard
open fun BannedUserListModule(@NonNull context: Context, @NonNull params: BannedUserListModule.Params)
Constructor

Types

Link copied to clipboard
open class Params : BaseModule.Params

Functions

Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @Nullable args: Bundle): View
Called after the module was created to make views to use in the Fragment or Activity.
Link copied to clipboard
open fun <T : BannedUserListComponent?> setBannedUserListComponent(@NonNull component: T)
Sets a custom list component.
Link copied to clipboard
open fun <T : HeaderComponent?> setHeaderComponent(@NonNull component: T)
Sets a custom header component.
Link copied to clipboard
open fun setOnLoadingDialogHandler(@Nullable loadingDialogHandler: LoadingDialogHandler)
Sets the handler for the loading dialog.
Link copied to clipboard
open fun <T : StatusComponent?> setStatusComponent(@NonNull component: T)
Sets a custom status component.
Link copied to clipboard
open fun shouldDismissLoadingDialog()
It will be called when the loading dialog needs dismissing.
Link copied to clipboard
open fun shouldShowLoadingDialog(@NonNull context: Context): Boolean
It will be called when the loading dialog needs displaying.

Properties

Link copied to clipboard
open val bannedUserListComponent: BannedUserListComponent
Link copied to clipboard
open val headerComponent: HeaderComponent
Link copied to clipboard
open val loadingDialogHandler: LoadingDialogHandler
Link copied to clipboard
val params: BannedUserListModule.Params
Link copied to clipboard
open val statusComponent: StatusComponent