I understand how to use the version 2 of MsgBoxAsync with Wait For:
B4X:
Msgbox2Async("Message", "Title", "Positive", "Cancel", "Negative", Bmp, False)
Wait For MsgBox_Result (Result As Int)
If Result = DialogResponse.NEGATIVE Then
but not how to use the simple MsgBoxAsync; this does not work:
BTW, in most cases there is no reason to wait for the user to close it. Just show it and continue. It is not the same as Msgbox2Async where you are waiting for the user choice.
BTW, in most cases there is no reason to wait for the user to close it. Just show it and continue. It is not the same as Msgbox2Async where you are waiting for the user choice.