Class 'SVGADrawable' is not abstract and does not implement abstract base
AhmedHumk opened this issue · comments
Ahmed Hussein commented
when i try to build the project i got this error
SVGADrawable.kt: (10, 1): Class 'SVGADrawable' is not abstract and does not implement abstract base class member public abstract fun draw(@nonnull p0: Canvas): Unit defined in android.graphics.drawable.Drawable
Ahmed Hussein commented
solved by changing fun draw
override fun draw(acanv: Canvas) {
if (cleared) {
return
}
acanv.let {
drawer.drawFrame(it,currentFrame, scaleType)
}
}