Android Question sql and ProgressDialogShow

I want to show ProgressDialog when I am receiving information from the web service and insert it into the database. How do I do this?
Normally when I use a ProgressDialogShow it not working until the data entry is finished.

i see this post and threading library but its for a very long ago,
Isn't there a better and easier way to do this?
 
Last edited:

Xfood

Expert
Licensed User
B4X:
'launches
ProgressDialogShow("Loading Data...")
sleep (0)
select ........
insert .......
ProgressDialogHide
 
Upvote 0
Top