public ProjectCodePickerView()
        {
            // Setup the picker and model
            model = new PickerModel(this.projects);
            model.PickerChanged += (sender, e) => {
                this.selectedProject = e.SelectedValue;
            };

            this.ShowSelectionIndicator = true;
            this.Model = model;
            model.Selected(this, 0, 0);
        }
        public AbroadExpenseTypePickerView()
        {
            // Setup the picker and model
            model = new PickerModel(this.types);
            model.PickerChanged += (sender, e) => {
                this.selectedUnit = e.SelectedValue;
            };

            this.ShowSelectionIndicator = true;
            this.Model = model;
            model.Selected(this, 0, 0);
        }
        public CurrencyPickerView()
        {
            try {
                units = Backend.Current.Currencies;

                // Setup the picker and model
                model = new PickerModel (units);
                model.PickerChanged += (sender, e) => {
                    this.selectedUnit = e.SelectedValue;
                };

                this.ShowSelectionIndicator = true;
                this.Model = model;
                model.Selected (this, 0, 0);
            } catch (Exception ex) {
                this.selectedUnit = new KeyValuePair<int, string>(0, "Error");
                new UIAlertView("Error", ex.Message, null, "ok", null).Show();
            }
        }