Android Question How to use MsgBoxAsync with wait for?

LucaMs

Expert
Licensed User
Longtime User
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:
B4X:
Wait For MsgboxAsync("Message", "Title")
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…