private async void HotPage_Loaded(object sender, RoutedEventArgs e) { if (!hotVM.Loading && hotVM.Items == null) { await hotVM.GetPopular(); } }
protected async override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); if (e.NavigationMode == NavigationMode.New && hotVM.HotItems == null) { await hotVM.GetPopular(); } }