StreamImageLoader

sealed interface StreamImageLoader

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed class ImageTransformation

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun load(target: ImageView, data: Any?, placeholderDrawable: Drawable? = null, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {}): Disposable
abstract fun load(target: ImageView, data: Any?, @DrawableRes placeholderResId: Int? = null, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {}): Disposable
Link copied to clipboard
abstract suspend fun loadAndResize(target: ImageView, data: Any?, placeholderDrawable: Drawable? = null, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {})
Link copied to clipboard
abstract suspend fun loadAsBitmap(context: Context, url: String, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None): Bitmap?
Link copied to clipboard
abstract fun loadVideoThumbnail(target: ImageView, uri: Uri?, @DrawableRes placeholderResId: Int? = null, transformation: StreamImageLoader.ImageTransformation = ImageTransformation.None, onStart: () -> Unit = {}, onComplete: () -> Unit = {}): Disposable