public void ShowVoting(ActivityViewState viewState, VotingModel model)
 {
     this.Model          = model;
     PageNavigator.Title = viewState.Title;
     HeaderViewModel.ViewState.Push(viewState);
     PullToRefresh.IsRefreshing = true;
     sender.ReceiveComments(this);
 }
Beispiel #2
0
        public async void OnVotingSelected(ActivityViewState viewState, VotingModel model)
        {
            try {
                var vm = await commutator.GoToPage <VotingDetailPresenter>(PageNavigator.Navigation);

                vm.ShowVoting(viewState, model);
            } catch (Exception ex) {
                logger.Error(ex);
            }
        }