Annotation Interface OnVisibilityStateChanged


@Target(METHOD) @Retention(CLASS) public @interface OnVisibilityStateChanged
This can be used to annotate methods inside classes with a ModelView annotation. Methods with this annotation will be called when the visibility state is changed.

Annotated methods should follow this signature : `@OnVisibilityStateChanged public void method(@Visibility int state)`

Possible States are declared in com.airbnb.epoxy.VisibilityState.

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

See Also:
  • OnModelVisibilityStateChangedListener