coil-singleton
/
coil
Package
coil
Types
Functions
Properties
Types
Coil
Link copied to clipboard
object
Coil
Content copied to clipboard
A class that holds the singleton
ImageLoader
instance.
ImageLoaderFactory
Link copied to clipboard
fun fun interface
ImageLoaderFactory
Content copied to clipboard
A factory that creates new
ImageLoader
instances.
Functions
clear
Link copied to clipboard
inline fun
ImageView
.
clear
()
Content copied to clipboard
dispose
Link copied to clipboard
inline fun
ImageView
.
dispose
()
Content copied to clipboard
Dispose the request that's attached to this view (if there is one).
load
Link copied to clipboard
inline fun
ImageView
.
load
(data:
Any
?, imageLoader:
ImageLoader
= context.imageLoader, builder:
ImageRequest.Builder
.() ->
Unit
= {}):
Disposable
Content copied to clipboard
Load the image referenced by
data
and set it on this
ImageView
.
loadAny
Link copied to clipboard
inline fun
ImageView
.
loadAny
(data:
Any
?, imageLoader:
ImageLoader
= context.imageLoader, builder:
ImageRequest.Builder
.() ->
Unit
= {}):
Disposable
Content copied to clipboard
Properties
imageLoader
Link copied to clipboard
val
Context
.
imageLoader
:
ImageLoader
Content copied to clipboard
Get the singleton
ImageLoader
.
metadata
Link copied to clipboard
val
ImageView
.
metadata
:
ImageResult
?
Content copied to clipboard
result
Link copied to clipboard
val
ImageView
.
result
:
ImageResult
?
Content copied to clipboard
Get the
ImageResult
of the most recently executed image request that's attached to this view.