MaterialAlertDialogBuilder

class MaterialAlertDialogBuilder(context: Context) : MaterialAlertDialogBuilder

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
private var mView: View?

Functions

Link copied to clipboard
fun <T : View> findViewById(@IdRes id: Int): T

Find view from the custom view of the Dialog.

Link copied to clipboard
fun getView(): View?

Get the layout of the Dialog.

Link copied to clipboard

Get the layout of the Dialog.

Link copied to clipboard
open override fun setView(view: View?): MaterialAlertDialogBuilder
open override fun setView(layoutResId: Int): MaterialAlertDialogBuilder
fun setView(@LayoutRes layoutId: Int, context: Context, root: ViewGroup?): MaterialAlertDialogBuilder

Sets a custom view to be the contents of the dialog.