updateTwoWayBinding removed

This commit is contained in:
Vladimir Enchev
2014-06-16 10:54:14 +03:00
parent ccc479215d
commit a03ce4ca1d
2 changed files with 1 additions and 3 deletions

View File

@@ -13,8 +13,7 @@ export class Switch extends view.View {
var that = this;
this._android.setOnCheckedChangeListener(new android.widget.CompoundButton.OnCheckedChangeListener({
onCheckedChanged: function (sender, isChecked) {
that.updateTwoWayBinding(Switch.checkedProperty, sender.isChecked());
that.setProperty(Switch.checkedProperty, sender.isChecked());
that.setProperty(Switch.checkedProperty, isChecked);
}
}));
}