Jumping directly in:
val dialog = progressDialog(message = “Please wait a bit…”, title = “Fetching data”)
There are of course also:
dialog.show()
dialog.dismiss()
It is said that ‘an indeterminate progress dialog is also available’. See:
indeterminateProgressDialog()