Android Question How make Progress indicator shows without doevents

rafaelmotaquintana

Active Member
Licensed User
I use Doevents in order to make this function to works

ProgressDialogShow2("Test",False)

within a block of code. Now that it is not recommended, what should I do to force the android progress indicator to appears? (sleep(0) doesn't works)
 

rscheel

Well-Known Member
Licensed User
Longtime User
Start
B4X:
ProgressDialogShow2("Loading, Wait...", False)

End
B4X:
ProgressDialogHide
 
Upvote 0

Didier9

Well-Known Member
Licensed User
Longtime User
Use a timer to refresh the progress bar periodically. I typically use 250 mS refresh rate.
 
Upvote 0
Top