Android Question B4XGifViewer and ProgressDialog

Marcos Alves

Well-Known Member
Licensed User
Hello,

I'm trying to use B4XGifViewer in a dialog to show to user a "wait message" while the app is running a long duration process but it seems that runs at the main thread, what means that when the process starts the gif freezes .
Is it possible to maintain the gif animation even when the main thread is busy?

Thanks!
 

Marcos Alves

Well-Known Member
Licensed User
what happens if you use
B4X:
Sleep(0)  '???
In the middle of your process ?
I can't do this... there is no control of what queued request could raise in "sleep" and the data being recovered is necessary before to continue. I'm looking for something like the progressdialog which continues running (animated "circle" saying "wait") even when the main thread is busy.
 

Jorge M A

Well-Known Member
Licensed User
Without seeing any code, I can only say...
Have you seen this?
 

Marcos Alves

Well-Known Member
Licensed User
Without seeing any code, I can only say...
Have you seen this?
Thanks @Jorge M A . I'll check!
 
Top