Class Observable.OnPropertyChangedCallback

  • Enclosing interface:
    Observable

    public abstract static class Observable.OnPropertyChangedCallback
    extends java.lang.Object
    The callback that is called by Observable when an observable property has changed.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void onPropertyChanged​(Observable sender, int propertyId)
      Called by an Observable whenever an observable property changes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OnPropertyChangedCallback

        public OnPropertyChangedCallback()
    • Method Detail

      • onPropertyChanged

        public abstract void onPropertyChanged​(Observable sender,
                                               int propertyId)
        Called by an Observable whenever an observable property changes.
        Parameters:
        sender - The Observable that is changing.
        propertyId - The BR identifier of the property that has changed. The getter for this property should be annotated with Bindable.