MPImageProvider

open class MPImageProvider : MPImageProviderInterface

Functions

Link copied to clipboard
open fun clearCache()
Clears stored results and pending tasks
Link copied to clipboard
open fun loadImageAsync(@NonNull imageUrl: String, @NonNull listener: OnSingleImageLoadedListener)
Loads a single image
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