setDialogMessage

open fun setDialogMessage(@Nullable dialogMessage: CharSequence)(source)

Sets the message of the dialog. This will be shown on subsequent dialogs.

This message forms the content view of the dialog and conflicts with list-based dialogs, for example. If setting a custom View on a dialog via setDialogLayoutResource, include a android.widget.TextView with ID message and it will be populated with this message.

Parameters

dialogMessage

The message


open fun setDialogMessage(dialogMessageResId: Int)(source)

Parameters

dialogMessageResId

The dialog message as a resource

See also