Exemple #1
0
        private async void OnResponseSelected(object sender, int index)
        {
            IsShowingDetails = true;
            OnViewResponseDetails?.Invoke(this, new EventArgs());
            var response = ViewModel.Responses[index].Response;

            await NavigateToEventDetails(response);
        }
Exemple #2
0
        private void OnResponseSelected(object sender, int index)
        {
            IsShowingDetails = true;
            OnViewResponseDetails?.Invoke(this, new EventArgs());
            var response = ViewModel.Responses[index];

            // TODO:  Navigate to details view - probably a new activity as wont show navigation drawer
        }
        void HandleOnResponseSelected(object sender, int index)
        {
            IsShowingDetails = true;

            OnViewResponseDetails?.Invoke(this, new EventArgs());

            var response       = ViewModel.Responses[index];
            var viewController = new ResponseDetailsViewController(response);

            NavigationController.PushViewController(viewController, true);
        }