coil-base
/
coil.util
/
CoilUtils
Coil
Utils
object
CoilUtils
Content copied to clipboard
Public utility methods for Coil.
Functions
Functions
clear
Link copied to clipboard
@
JvmStatic
()
fun
clear
(view:
View
)
Content copied to clipboard
Cancel any in progress requests attached to
view
and clear any associated resources.
createDefaultCache
Link copied to clipboard
@
JvmStatic
()
fun
createDefaultCache
(context:
Context
):
Cache
Content copied to clipboard
Create an OkHttp disk cache with a reasonable default size and location.
metadata
Link copied to clipboard
@
JvmStatic
()
fun
metadata
(view:
View
):
ImageResult.Metadata
?
Content copied to clipboard
Get the metadata of the successful request attached to this view.