Android Question Problem on showing ProgressDialogShow()

Paolo Pini

Member
Licensed User
Longtime User
Hi all,

I have this code:
B4X:
Sub MySub

    Msgbox2Async("CONFIRM YOUR CHOICE?", "SELECTION", "YES", "", "NO", Null,  False)
    Wait For Msgbox_Result (Result As Int)
   
    If Result = DialogResponse.POSITIVE Then
        ProgressDialogShow("WAIT FOR SEARCH...")
       
        '.......
        'Long elaboration.....

         ProgressDialogHide

         Return
    End If

but the ProgressDialogShow never show.

What is my mistake?

Many thanks

Paolo
 
Top