Beispiel #1
0
        public async Task LoadDataAsync()
        {
            var data = await _conversationService.GetAllConversationsForUser();

            Conversations.Clear();
            foreach (var item in data)
            {
                Conversations.Add(new ConversationViewModel(item));
            }
            SelectedConversation = Conversations.FirstOrDefault();
        }
Beispiel #2
0
 internal void ViewConvoDetails(ConversationViewModel conversation)
 {
     SelectedConversation = conversation;
     NavigationService.Navigate("FlightAppEliasGryp.ViewModels.ConversationDetailViewModel", conversation, new DrillInNavigationTransitionInfo());
 }