Stay organized with collections Save and categorize content based on your preferences.

OnLifecycleEvent

@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

public abstract Lifecycle.Event value()