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 . |