public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            _mediaService = new MediaService(this);

            ViewModel.SetActivityServices(_mediaService);

            NavigationController.NavigationBarHidden = false;
            NavigationItem.SetRightBarButtonItem(new UIBarButtonItem(UIBarButtonSystemItem.Action, (sender, args) =>
            {
                // button was clicked
                _actionSheet.ShowInView(View);
            })
            , true);

            Title = "Add Incident";

            txtSubject.ShouldReturn += CloseKeyboard;
            txtDescription.ShouldReturn += CloseKeyboard;

            ViewModel.PropertyChanged += Vm_PropertyChanged;

            SetupBindings();
        }
        /// <summary>
        /// Fires when the View loads.
        /// </summary>
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            var mediaService = new MediaService(this);

            ViewModel.SetActivityServices(mediaService);

            // Perform any additional setup after loading the view
            NavigationController.NavigationBarHidden = false;

            this.Title = "Record Audio";

            SetupBindings();
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            _mediaService = new MediaService(this);
            ViewModel.SetActivityServices(_mediaService);

            NavigationController.NavigationBarHidden = false;
            NavigationItem.SetRightBarButtonItem(new UIBarButtonItem(UIBarButtonSystemItem.Action, (sender, args) =>
            {
                // button was clicked
                _actionSheet.ShowInView(View);
            })
            , true);

            Title = "";

            SetupBindings();
        }