fade

fun <S : Drawable> S.fade(in: Boolean, durationNanos: Long = 0.1.seconds): S

Fade this drawable in or out, with a given duration.

If it is not initialized, it applies the fade instantly.

Since

1.5.0