ConvertToDrawable

class ConvertToDrawable : Function<T, R>

Reactive function that converts a Bitmap to a Drawable with fade effect if needed.

Constructors

Link copied to clipboard
constructor(@NonNull res: Resources, crossFade: Boolean, renderStartTime: Long, @Nullable placeholder: Drawable)

Functions

Link copied to clipboard
open fun apply(@NonNull bitmap: Bitmap): Drawable