Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.


public abstract @interface Bindable
implements Annotation


The Bindable annotation should be applied to any getter accessor method of an Observable class. Bindable will generate a field in the BR class to identify the field that has changed.

When applied to an accessor method, the Bindable annotation takes an optional list of property names that it depends on. If there is a change notification of any of the listed properties, this value will also be considered dirty and be refreshed. For example:

 public void getFirstName() { return this.firstName; }

 public void getLastName() { return this.lastName; }

 @Bindable({"firstName", "lastName"}}
 public void getName() { return this.firstName + ' ' + this.lastName; }

Whenever either firstName or lastName has a change notification, name will also be considered dirty. This does not mean that onPropertyChanged(Observable, int) will be notified for, only that binding expressions containing name will be dirtied and refreshed.


Public methods

String[] value()

Inherited methods

From interface java.lang.annotation.Annotation

Public methods


String[] value ()