DelayedDrawableResolver

data class DelayedDrawableResolver(afterDelayDrawableResolver: DrawableResolver) : DrawableResolver

A drawable that shows the afterDelayDrawableResolver only after DELAY_MS. The drawable shown before delay is provided by calling startDelay, otherwise afterDelayDrawableResolver is used.

Constructors

Link copied to clipboard
fun DelayedDrawableResolver(afterDelayDrawableResolver: DrawableResolver)

Functions

Link copied to clipboard
open override fun get(context: Context): Drawable
Link copied to clipboard
fun startDelay(beforeDelayDrawableResolver: DrawableResolver)

Starts the delay for switching from beforeDelayDrawableResolver to afterDelayDrawableResolver.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)