micro_utils.dokka
0.15.1

# Package-level declarations

## Types

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

## Functions

createActionsAlertDialog
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
createRecyclerViewDialog
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