public void setFrame ( final int frame ) { if ( composition == null ) { lazyCompositionTasks . add ( new LazyCompositionTask ( ) { @ Override public void run ( LottieComposition composition ) { setFrame ( frame ) ; } } ) ; return ; } animator . setFrame ( frame ) ; }
Sets the progress to the specified frame . If the composition isn t set yet the progress will be set to the frame when it is .