Properly using HandleTask #809
codinghavok
started this conversation in
General
Replies: 1 comment
-
Your method will work. I think it would be a better practice to load the profile async so you could do something like this. The LoadProfileAsync method is Task so it would not return when the first await completes.
I am assuming you would create a viewModel.InitAsync method to load the profile. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello, I'm upgrading from 3.2 to 4.0. I like to display progress messages in my applications ShellViewModel when changing to my apps "profile screen". Since 4.0 is a little different now being async, do I still need to keep the body of my HandleTasks the same if I'm only upgrading to the new signature and want to keep functionality the same? I have included my loading message method below.
If this is incorrect use , can you please provide an example of how it should be done. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions