Annotation Interface OnVisibilityChanged


@Target(METHOD) @Retention(CLASS) public @interface OnVisibilityChanged
This can be used to annotate methods inside classes with a ModelView annotation. Methods with this annotation will be called when visibility part of the view change.

Annotated methods should follow this signature : `@OnVisibilityChanged public void method( float percentVisibleHeight, float percentVisibleWidth: Float, int visibleHeight, int visibleWidth )`

The equivalent methods on the model is com.airbnb.epoxy.EpoxyModel#onVisibilityChanged

See Also:
  • OnModelVisibilityChangedListener