Пример #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.TwoView);

            this.AddBinding(() => NameEditText.Text, () => Vm.Name);
            this.AddBinding(() => Vm.Name, () => NameEditText.Text);

            this.AddBinding(() => Vm.Description, () => DescriptionEditText.Text);
            this.AddBinding(() => Vm.Feedback, () => FeedbackTextView.Text);

            SaveButton.AddCommand("Click", Vm.SaveCommand);
        }