blob: e87fc90af7c7c8de1cae60a8b3bfbb23e5346e0f [file] [log] [blame]
package com.airbnb.lottie.samples.testing
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.
}
}