I am calling a sub with:
In sub GetContactList I am creating a List of all the phone contacts and writting this into a SQLite table.
All is great, BUT the ProgressDialog is only displayed after the sub GetContactList is finished.
What am I doing incorrectly that the ProgressDialog is not display when btnContactsList is Clicked?
B4X:
Sub btnContactsList_Click
ProgressDialogShow("Creating Contacts List")
CallSubDelayed(Me,"GetContactList")
End Sub
In sub GetContactList I am creating a List of all the phone contacts and writting this into a SQLite table.
All is great, BUT the ProgressDialog is only displayed after the sub GetContactList is finished.
What am I doing incorrectly that the ProgressDialog is not display when btnContactsList is Clicked?