Interface Resource.StateListener

Enclosing interface:
Resource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Resource.StateListener
Application listener for a Resource.

They are usually registered at creation time.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handle state change.
  • Method Details

    • handle

      void handle(Resource.Context context)
      Handle state change.
      Parameters:
      context - state change context