setDrawable

abstract fun setDrawable(drawable: Drawable)

Sets the current drawable (usually an animated drawable) to display in the wrapped view.

Parameters

drawable

The drawable to display in the wrapped view.