Package dev. inmo. micro_utils. android. alerts. common
Types
Functions
Link copied to clipboard
inline fun Context.createAlertDialogTemplate(title: String? = null, positivePair: Pair<String, AlertDialogCallback?>? = null, neutralPair: Pair<String, AlertDialogCallback?>? = null, negativePair: Pair<String, AlertDialogCallback?>? = null): AlertDialog.Builder
Content copied to clipboard
Link copied to clipboard
inline fun Context.createAlertDialogTemplateWithResources(title: Int? = null, positivePair: Pair<Int, AlertDialogCallback?>? = null, neutralPair: Pair<Int, AlertDialogCallback?>? = null, negativePair: Pair<Int, AlertDialogCallback?>? = null): AlertDialog.Builder
Content copied to clipboard
Link copied to clipboard
inline fun <T : View> Context.createCustomViewAlertDialog(title: String? = null, positivePair: Pair<String, AlertDialogCallback?>? = null, neutralPair: Pair<String, AlertDialogCallback?>? = null, negativePair: Pair<String, AlertDialogCallback?>? = null, show: Boolean = true, viewCreator: (Context) -> T): AlertDialog
Content copied to clipboard
Link copied to clipboard
inline fun <T : View> Context.createCustomViewAlertDialogWithResources(title: Int? = null, positivePair: Pair<Int, AlertDialogCallback?>? = null, neutralPair: Pair<Int, AlertDialogCallback?>? = null, negativePair: Pair<Int, AlertDialogCallback?>? = null, show: Boolean = true, viewCreator: (Context) -> T): AlertDialog
Content copied to clipboard
Link copied to clipboard
inline fun Context.createSimpleTextAlertDialog(@StringRes text: Int, @StringRes title: Int? = null, positivePair: Pair<Int, AlertDialogCallback?>? = null, neutralPair: Pair<Int, AlertDialogCallback?>? = null, negativePair: Pair<Int, AlertDialogCallback?>? = null, show: Boolean = true): AlertDialog
Content copied to clipboard
inline fun Context.createSimpleTextAlertDialog(text: String, title: String? = null, positivePair: Pair<String, AlertDialogCallback?>? = null, neutralPair: Pair<String, AlertDialogCallback?>? = null, negativePair: Pair<String, AlertDialogCallback?>? = null, show: Boolean = true): AlertDialog
Content copied to clipboard
Link copied to clipboard
inline fun AlertDialog.setDismissChecker(noinline checker: () -> Boolean): AlertDialog
Content copied to clipboard