set

operator fun set(old: Drawable, new: Drawable?)

Replace a child of this drawable with another drawable.

This will add a nice, smooth Fade animation to the transition.

Since

1.0.1


operator fun set(old: Int, new: Drawable)