LottieProperty.TRANSFORM_POSITION_X
and LottieProperty.TRANSFORM_POSITION_Y
has been added to enable dynamic properties on transform positions that have split dimensions enabled (#1714)KeyPath
(#1710)ColorStateLists
in LottieAnimationView
lottie_colorFilter
xml attribute (#1708)LottieDrawable
bounds internally. It will not respect the bounds set on it (#1713)LottieAnimationView
with another drawable then setting it back would cause the animation to not render (#1703)Added a new global configuration to add a custom network stack, custom network cache, enable systrace markers, and more (#1629)
Lottie.initialize
and LottieConfig.Builder
.Add support for parsing dotLottie files (#1660)
Added support for pause listeners on LottieDrawable
and LottieAnimationView
(#1662)
LottieCompositionFactory.clearCache()
.setFailureListener
and resetFailureListener
(#1321).setFallbackResource
from code orlottie_fallbackRes
from xml.setApplyingOpacityToLayersEnabled
for more info.setMinFrame
, setMaxFrame
and setMinAndMaxFrame
with a marker name.enableHardwareAcceleration
with a new setRenderMode
API because it has a third (Automatic
) option. Refer to the docs for more info.invalidateSelf()
from being called and recalculating bounds many times per frame.fetchBitmap()
as @Nullable
LottieComposition.Factory
in favor of LottieCompositionFactory.LottieComposition#getImages()
to aid in preloading images.playAnimation(start, end)
. It has been removed in favor of explicit methods for setMinFrame/Progress
, setMaxFrame/Progress
and setMinAndMaxFrame/Progress
followed by an explicit call to playAnimation
or resumeAnimation
.reverseAnimation
and resumeReverseAnimation
apis have been removed in favor of play
and resume
with speed
< 0.play(startFrame, endFrame)
and play(startProgress, endProgress)
.enableMergePathsForKitKatAndAbove
and read the documentation before using it.LottieAnimationView
and LottieDrawable
LottieDrawable
public again.LottieDrawable
is used outside of LottieAnimationView