Package 

Interface KeyPathElement

    • Method Summary

      Modifier and Type Method Description
      abstract void resolveKeyPath(KeyPath keyPath, int depth, List<KeyPath> accumulator, KeyPath currentPartialKeyPath) Called recursively during keypath resolution.
      abstract <T> void addValueCallback(T property, @Nullable() LottieValueCallback<T> callback) The overridden method should handle appropriate properties and set value callbacks on theiranimations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • resolveKeyPath

         abstract void resolveKeyPath(KeyPath keyPath, int depth, List<KeyPath> accumulator, KeyPath currentPartialKeyPath)

        Called recursively during keypath resolution.

        The overridden method should just call:MiscUtils.resolveKeyPath(keyPath, depth, accumulator, currentPartialKeyPath, this);

        Parameters:
        keyPath - The full keypath being resolved.
        depth - The current depth that this element should be checked at in the keypath.
        accumulator - A list of fully resolved keypaths.
        currentPartialKeyPath - A keypath that contains all parent element of this one.This element should create a copy of this and append itselfwith KeyPath#addKey when it adds itself to the accumulatoror propagates resolution to its children.
      • addValueCallback

         abstract <T> void addValueCallback(T property, @Nullable() LottieValueCallback<T> callback)

        The overridden method should handle appropriate properties and set value callbacks on theiranimations.