OnLifecycleEvent

Added in 2.0.0
Deprecated in 2.4.0

@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.METHOD)
public annotation OnLifecycleEvent


Annotation that can be used to mark methods on LifecycleObserver implementations that should be invoked to handle lifecycle events.

Summary

Public methods

abstract Lifecycle.Event

Public methods

value

Added in 2.0.0
Deprecated in 2.4.0
public abstract Lifecycle.Event value()