I just wanted to check on the correct way to do this. There are several answers within these forums and I don’t seem to be able to get any to work.
Within my long running method I currently have:
ShowLoader = true;
// Do my stuff
ShowLoader = false
The problem being that I never see the loading spinner, even when my operations take a few seconds each. What am I missing?
You have to think of Wisej always in terms of request and response. Until there is a response sent back to the client, you can change anything but nothing is updated on the client. If the app is connected using WebSocket you can push the updates at any time by calling Application.Update(this).
Or you can set ShowLoader = true, start a background task (Application.StartTask) and se ShowLoader = false at the end of the task.
Please login first to submit.