underwave / com.aallam.underwave / Underwave
Underwave
(android) class Underwave
A singleton to present a simple static interface for building requests.
Functions
Name | Summary |
---|---|
(android) clear | Clears as much memory and as possible and disk cache.fun clear(): Unit |
(android) insert | A suspendable method to load an image to an ImageView using the caller’s coroutine scope.suspend fun insert(imageUrl: String , imageView: ImageView): Request |
(android) load | Load imageUrl into imageView.fun load(imageUrl: String , imageView: ImageView): Request |
Companion Object Functions
Name | Summary |
---|---|
(android) debugMode | Enable or disable Underwave’s debug mode.fun debugMode(enabled: Boolean , logger: Logger ): Unit |
(android) with | Begin a load with Underwave by passing in a context.fun with(context: Context ): Underwave |