CoilUtils

object CoilUtils

Public utility methods for Coil.

Functions

clear
Link copied to clipboard
fun clear(view: View)
Cancel any in progress requests attached to view and clear any associated resources.
createDefaultCache
Link copied to clipboard
fun createDefaultCache(context: Context): Cache
Create an OkHttp disk cache with a reasonable default size and location.
metadata
Link copied to clipboard
fun metadata(view: View): ImageResult.Metadata?
Get the metadata of the successful request attached to this view.