Android Question B4XGifViewer and ProgressDialog

Marcos Alves

Well-Known Member
Licensed User
Longtime 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
Longtime 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.
 
Upvote 0

Jorge M A

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

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Thanks @Jorge M A . I'll check!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…