public override void OnNavigatedTo(object parameter, NavigationMode mode, IDictionary <string, object> state)
        {
            base.OnNavigatedTo(parameter, mode, state);

            Messages = _messageService.GetMessages();
            Selected = Messages.First();
        }
Example #2
0
 public override void OnNavigatedTo(object parameter, NavigationMode mode, IDictionary <string, object> state)
 {
     Messages = _messageService.GetMessages();
 }
 public override Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary <string, object> state)
 {
     Messages = _messageService.GetMessages();
     Selected = Messages?.FirstOrDefault();
     return(Task.CompletedTask);
 }