Exemplo n.º 1
0
        private void OpenChatView()
        {
            MvxPresentationHint presentationHint = new ChatConversationHint {
                SelectedUser = _conversationId
            };

            Mvx.Resolve <IMvxViewDispatcher>().ChangePresentation(presentationHint);
        }
Exemplo n.º 2
0
        /// <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);
            }
        }