private void OpenChatView() { MvxPresentationHint presentationHint = new ChatConversationHint { SelectedUser = _conversationId }; Mvx.Resolve <IMvxViewDispatcher>().ChangePresentation(presentationHint); }
/// <summary> /// Invoked when app is coming from a background state /// </summary> /// <param name="conversationId"></param> private void TryShowConversation(Guid conversationId) { if (!MainWindow.RootViewController.VisibleViewController().IsChatConversation(conversationId)) { MvxPresentationHint presentationHint = new ChatConversationHint { SelectedUser = conversationId }; Mvx.Resolve <IMvxViewDispatcher>().ChangePresentation(presentationHint); } }