showInfoDialog

public final Unit showInfoDialog(Activity activity, Integer titleResId, Integer messageResId, Function0<Unit> onClose)

Show an info dialog

Parameters

activity

The activity to show the info dialog in

titleResId

The resource ID of the title of the info dialog

messageResId

The resource ID of the message of the info dialog

onClose

The lambda to run when the info dialog is closed

Throws

if an info dialog is already showing