hoping dpScale could be fixed for cross screen situation
Lottie is supported and developed on nights and weekends. Issues from Lottie sponsors will be prioritized.
If you don't use this template, your issue will be closed. Delete this text once completed.
Is your feature request related to a problem? Please describe.
I developed an app that starts two activitys to two different screens with different density. When the lottie animation is playing on one of the screen, if I touch another one at the same time, the animation will become strange. After some study, I found that the problem comes from com.airbnb.lottie.utils.Utils#dpScale(). The dpScale() method always returns the density of latest active screen and the density is global.
Describe the solution you'd like I hope com.airbnb.lottie.utils.Utils#dpScale() could return a custom value, so that I can fix the problem I have met.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Source: airbnb/lottie-android