micro_utils.dokka
0.15.1

# Package-level declarations

## Types

AlertDialogCallback
Link copied to clipboard
typealias AlertDialogCallback = (DialogInterface) -> Unit

## Functions

createAlertDialogTemplate
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
createAlertDialogTemplateWithResources
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
createCustomViewAlertDialog
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
createCustomViewAlertDialogWithResources
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
createSimpleTextAlertDialog
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
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
setDismissChecker
Link copied to clipboard
inline fun AlertDialog.setDismissChecker(noinline checker: () -> Boolean): AlertDialog