Observable.OnPropertyChangedCallback
public static abstract class Observable.OnPropertyChangedCallback
extends Object
observable属性发生变化时由Observable调用的回调函数。
Summary
Public constructors
Observable.OnPropertyChangedCallback
Observable.OnPropertyChangedCallback ()
Public methods
onPropertyChanged
void onPropertyChanged (Observable sender,
int propertyId)
每当可观察属性发生变化时,由可观察对象调用。
Parameters |
sender |
Observable : The Observable that is changing. |
propertyId |
int : The BR identifier of the property that has changed. The getter for this property should be annotated with Bindable . |