• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.airbnb.lottie.value;
2 
3 /**
4  * Delegate interface for {@link LottieValueCallback}. This is helpful for the Kotlin API because you can use a SAM conversion to write the
5  * callback as a single abstract method block like this:
6  * animationView.addValueCallback(keyPath, LottieProperty.TRANSFORM_OPACITY) { 50 }
7  */
8 public interface SimpleLottieValueCallback<T> {
getValue(LottieFrameInfo<T> frameInfo)9   T getValue(LottieFrameInfo<T> frameInfo);
10 }
11