Package-level declarations

Types

Link copied to clipboard
class Debouncer(debounceMs: Long)

Utility class for debouncing high frequency events.

Link copied to clipboard
object Linkify

Linkify links the part of the text based on matching pattern.

Link copied to clipboard
class ListenerDelegate<L : Any>(initialValue: L, wrap: (realListener: () -> L) -> L) : ReadWriteProperty<Any?, L>

A property delegate to be used with listeners.

Link copied to clipboard

Functions

Link copied to clipboard
fun ImageView.load(data: Any?, placeholderDrawable: Drawable?, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {}): Disposable
fun ImageView.load(data: Any?, @DrawableRes placeholderResId: Int? = null, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {}): Disposable
Link copied to clipboard
suspend fun ImageView.loadAndResize(data: Any?, placeholderDrawable: Drawable?, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {})

Loads an image into a drawable and then applies the drawable to the container, resizing it based on the scale types and the given configuration.

Link copied to clipboard
fun ImageView.loadVideoThumbnail(uri: Uri?, @DrawableRes placeholderResId: Int? = null, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {}): Disposable