.Net MAUI code adaptation #99
-
Hi Brandon,
line 50: await using var stream = await Client.GetStreamAsync(apiUrl).ConfigureAwait(false); I also made GetDataObjectFromApi and UpdateActivityIndicatorStatus methods static. Since my knowledge of AsyncAwait practices is mediocre (at best), I was wondering if those modifications make sense. What's your take on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @robertodalmonte! I've updated the HackerNews sample to .NET MAUI in its own repo: https://github.com/brminnick/hackernews. Feel free to check it out and compare/contrast your own code! |
Beta Was this translation helpful? Give feedback.
Hey @robertodalmonte!
I've updated the HackerNews sample to .NET MAUI in its own repo: https://github.com/brminnick/hackernews. Feel free to check it out and compare/contrast your own code!