示例#1
0
        public override void BindViews()
        {
            viewsHelper
            .BindEditText(Resource.Id.edtPhone, "Phone")
            .BindEditText(Resource.Id.edtLastName, "LastName")
            .BindEditText(Resource.Id.edtFirstName, "FirstName")
            .BindEvent(BindableEvents.OnLostFocus, Resource.Id.edtPhone, ValidatePhoneNumber);

            viewsHelper.CompileBindings();
            SetData();
        }