MPImageProvider

open class MPImageProvider : ImageProvider

Functions

Link copied to clipboard
open fun clearCache()
Clears stored results and pending tasks
Link copied to clipboard
@NonNull
open fun get(): MPImageProvider
Retrieves the MPImageProvider instance
Link copied to clipboard
open fun loadImageAsync(@NonNull imageUrl: String, @NonNull listener: OnSingleImageLoadedListener)
Loads a single image by calling loadImageAsync
Link copied to clipboard
open fun loadImagesAsync(@NonNull imageUrlList: List<String>, @NonNull listener: OnMultipleImagesLoadedListener)
Loads multiple images Checks if the image has already been loaded and avoids loading it again.
Link copied to clipboard
open fun terminate()
Clears stored results and pending tasks