public async Task OnLoad(object data) { if (DisplayTweet == null) { Close(false); return; } PreviousConversationTweets.Clear(); FollowingConversationTweets.Clear(); await Task.WhenAll(StartLoadingPrevTweets(), StartLoadingResponses(), StartLoadingRetweets(), DisplayTweet.LoadQuotedTweet()); }
public async Task OnLoad(object data) { if (DisplayTweet == null) { Close(false); return; } PreviousConversationTweets.Clear(); FollowingConversationTweets.Clear(); await Task.WhenAll(StartLoadingPrevTweets(), StartLoadingResponses(), StartLoadingRetweets(), DisplayTweet.LoadDataAsync()).ContinueWith(async t => { await Dispatcher.RunAsync(Center); }); }