Activity Indicator #17374
Unanswered
VBusch-netsol
asked this question in
Q&A
Activity Indicator
#17374
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hy,
i have an activity indicator on my page:
I can show it with a button, that works:
In Viewmodel:
public void ShowBusy()
{
if (IsBusy)
IsBusy = false;
else
IsBusy = true;
}
I have a function in the viewmodel which needs longer, but when i start the function with IsBusy = true; and end the function with IsBusy = false; the BusyIndicator is not shown.
also not when i start the function in an other function:
private async void ShowBusyIndicator(string pdfFilename)
{
IsBusy = true;
bool finished = await GetAndShowPDF(pdfFilename);
IsBusy = false;
}
What do i wrong?
Volker
Beta Was this translation helpful? Give feedback.
All reactions