Interface LifecycleEventManager.ListenerAdapter

Enclosing class:
LifecycleEventManager

public static interface LifecycleEventManager.ListenerAdapter
Interface that facades to other lifecycle listener interfaces can implement to choose which events to respond to based on their delegate. This is more efficient than registering as a listener for all events but only responding to some.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    respondsTo(int eventType)
    Return whether this instance responds to the given event type from LifecycleEvent.
  • Method Details

    • respondsTo

      boolean respondsTo(int eventType)
      Return whether this instance responds to the given event type from LifecycleEvent.