private static void NewMessageImpl(MessagesViewModel vm) { vm._composeVM = new ComposeViewModel(vm._baconProvider); vm._navigationService.Navigate(vm._dynamicViewLocator.ComposeView, null); }
private static void ReplyToMessageImpl(MessagesViewModel vm) { if (vm.SelectedItem.IsPostReply || vm.SelectedItem.IsCommentReply || vm.SelectedItem.IsUserMention) { UtilityCommandImpl.GotoLinkImpl("http://reddit.com" + vm.SelectedItem.Context, null); } else { vm._composeVM = new ComposeViewModel(vm._baconProvider, vm.SelectedItem); vm._navigationService.Navigate(vm._dynamicViewLocator.ComposeView, null); } }
private static void RefreshMessagesImpl(MessagesViewModel vm) { vm.GetMessages(); }