I'm using random Lottie animation in my android app. I need to know the total number of frames used in the Lottie animation. depending upon the total frames, I want to loop the animation from 1st frame to the certain frame. for eg. If the Lottie file contains 60 frames then I want to perform the animation from 1 to any number < 60.
I'm using below dependency
implementation 'com.airbnb.android:lottie:3.4.2'