public async Task LoadDataAsync() { var data = await _conversationService.GetAllConversationsForUser(); Conversations.Clear(); foreach (var item in data) { Conversations.Add(new ConversationViewModel(item)); } SelectedConversation = Conversations.FirstOrDefault(); }
internal void ViewConvoDetails(ConversationViewModel conversation) { SelectedConversation = conversation; NavigationService.Navigate("FlightAppEliasGryp.ViewModels.ConversationDetailViewModel", conversation, new DrillInNavigationTransitionInfo()); }