blob: fca6c5669c22c98f79db74a5f133b8f6d68e46e3 [file] [log] [blame]
package com.airbnb.lottie.snapshots
import android.content.Context
import android.util.AttributeSet
import com.airbnb.lottie.LottieAnimationView
class NoCacheLottieAnimationView @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0
) : LottieAnimationView(context, attrs, defStyleAttr) {
override fun buildDrawingCache(autoScale: Boolean) {
// Prevent the cache from getting generated.
}
}