sdk-maps-static-image / com.tomtom.online.sdk.staticimage / GlideDrawableDownloader

GlideDrawableDownloader

open class GlideDrawableDownloader : DrawableDownloader

Downloader based on the Glide library.

Constructors

<init>

GlideDrawableDownloader(context: Context!)

Functions

download

open fun download(staticImage: StaticImage!, imageView: ImageView!): Unit

Download to container. Can be called from the main thread.

open fun download(staticImage: StaticImage!, listener: DownloadListener!): Unit

Download with listener. Success Error cases. Can be used to multiplay a request in the background.

getContext

open fun getContext(): Context?