get Best Source For Size
fun getBestSourceForSize(width: Int, height: Int, sources: List<ImageSource>): MultiSourceHelper.MultiSourceResult
fun getBestSourceForSize(width: Int, height: Int, sources: List<ImageSource>, multiplier: Double): MultiSourceHelper.MultiSourceResult
Chooses the image source with the size closest to the target image size.
Parameters
width
the width of the view that will be used to display this image
height
the height of the view that will be used to display this image
sources
the list of potential image sources to choose from
multiplier
the area of the view will be multiplied by this number before calculating the best source; this is useful if the image will be displayed bigger than the view (e.g. zoomed)