show Success Dialog
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
image Resource Id
The image resource ID
activity
The activity to show the info dialog in
title Res Id
The resource ID of the title of the info dialog
message Res Id
The resource ID of the message of the info dialog
on Close
The lambda to run when the info dialog is closed