Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class ActionViewHolder(container: ViewGroup, dialogInterfaceGetter: () -> DialogInterface) : AbstractStandardViewHolder<AlertAction>
Link copied to clipboard
data class AlertAction(val title: String, val callback: (DialogInterface) -> Unit)

Functions

Link copied to clipboard
fun Context.createActionsAlertDialog(actions: List<AlertAction>, title: Int? = null, positivePair: Pair<Int, AlertDialogCallback?>? = null, neutralPair: Pair<Int, AlertDialogCallback?>? = null, negativePair: Pair<Int, AlertDialogCallback?>? = null, show: Boolean = true): AlertDialog
Link copied to clipboard
fun Context.createRecyclerViewDialog(title: Int? = null, positivePair: Pair<Int, AlertDialogCallback?>? = null, neutralPair: Pair<Int, AlertDialogCallback?>? = null, negativePair: Pair<Int, AlertDialogCallback?>? = null, show: Boolean = true, layoutManager: RecyclerView.LayoutManager = LinearLayoutManager(this), marginOfRecyclerView: Int = 8, recyclerViewSetUp: RecyclerView.() -> Unit = {}, adapterFactory: () -> RecyclerView.Adapter<*>): AlertDialog