showSuccessDialog

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

Shows a success dialog with an image and a message

Parameters

imageResourceId

The image resource ID

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