MultiSourceResult

class MultiSourceResult(val bestResult: ImageSource?, val bestResultInCache: ImageSource?)

Constructors

Link copied to clipboard
constructor(bestResult: ImageSource?, bestResultInCache: ImageSource?)

Properties

Link copied to clipboard

Get the best result overall (closest in size to the view's size). Can be null if there were no sources to choose from, or if there were more than 1 sources but width/height were 0.

Link copied to clipboard

Get the best result (closest in size to the view's size) that is also in cache. If this would be the same as the source from .getBestResult, this will return null instead.