Interface Ref.Initializer<T>

  • Type Parameters:
    T - generic type of Ref
    Enclosing class:
    Ref<T>
    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 Ref.Initializer<T>
    A functional type for initializing a Ref, used by Providers.
    • Method Detail

      • initialize

        void initialize​(Ref<T> ref)
        Initialize the provided Ref, as well as add handlers for disposal, etc. if required.
        Parameters:
        ref - Ref to initialize