Dialog Utils
class DialogUtils
Functions
Link copied to clipboard
open fun showConfirmDialog(@NonNull context: Context, @NonNull message: String, @NonNull positiveButtonText: String, @Nullable positiveButtonListener: View.OnClickListener, useOverlay: Boolean): AlertDialog
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun showContentViewAndListDialog(@NonNull context: Context, @NonNull contentView: View, @NonNull items: Array<DialogListItem>, @Nullable itemClickListener: OnItemClickListener<DialogListItem>): AlertDialog
Link copied to clipboard
open fun showInputDialog(@NonNull context: Context, @NonNull title: String, @NonNull editTextParams: DialogEditTextParams, @Nullable editTextResultListener: OnEditTextResultListener, @NonNull positiveButtonText: String, @Nullable positiveButtonListener: View.OnClickListener, @NonNull negativeButtonText: String, @Nullable negativeButtonListener: View.OnClickListener): AlertDialog
Link copied to clipboard
open fun showListBottomDialog(@NonNull context: Context, @NonNull items: Array<DialogListItem>, @Nullable itemClickListener: OnItemClickListener<DialogListItem>): AlertDialog
open fun showListBottomDialog(@NonNull context: Context, @NonNull items: Array<DialogListItem>, @Nullable itemClickListener: OnItemClickListener<DialogListItem>, useOverlay: Boolean): AlertDialog
Link copied to clipboard
open fun showListDialog(@NonNull context: Context, @NonNull title: String, @NonNull items: Array<DialogListItem>, @Nullable itemClickListener: OnItemClickListener<DialogListItem>): AlertDialog
Link copied to clipboard
open fun showUserProfileDialog(@NonNull context: Context, @NonNull user: User, useChannelCreatable: Boolean, @Nullable userProfileItemClickListener: OnItemClickListener<User>, @Nullable handler: LoadingDialogHandler): AlertDialog
open fun showUserProfileDialog(@NonNull context: Context, @NonNull user: User, useChannelCreatable: Boolean, @Nullable userProfileItemClickListener: OnItemClickListener<User>, @Nullable handler: LoadingDialogHandler, useOverlay: Boolean): AlertDialog
Link copied to clipboard
open fun showWarningDialog(@NonNull context: Context, @NonNull title: String, @NonNull warningButtonText: String, @Nullable warningButtonListener: View.OnClickListener, @NonNull negativeButtonText: String, @Nullable negativeButtonListener: View.OnClickListener): AlertDialog
open fun showWarningDialog(@NonNull context: Context, @NonNull title: String, @NonNull warningButtonText: String, @Nullable warningButtonListener: View.OnClickListener, @NonNull negativeButtonText: String, @Nullable negativeButtonListener: View.OnClickListener, useOverlay: Boolean): AlertDialog
open fun showWarningDialog(@NonNull context: Context, @NonNull title: String, @NonNull message: String, @NonNull warningButtonText: String, @Nullable warningButtonListener: View.OnClickListener, @NonNull negativeButtonText: String, @Nullable negativeButtonListener: View.OnClickListener): AlertDialog
open fun showWarningDialog(@NonNull context: Context, @NonNull title: String, @NonNull message: String, @NonNull warningButtonText: String, @Nullable warningButtonListener: View.OnClickListener, @NonNull negativeButtonText: String, @Nullable negativeButtonListener: View.OnClickListener, useOverlay: Boolean): AlertDialog