-
public class MultiSourceHelper.MultiSourceResult
-
-
Field Summary
Fields Modifier and Type Field Description private final ImageSource
bestResult
private final ImageSource
bestResultInCache
-
Method Summary
Modifier and Type Method Description ImageSource
getBestResult()
Get the best result overall (closest in size to the view's size). ImageSource
getBestResultInCache()
Get the best result (closest in size to the view's size) that is also in cache. -
-
Method Detail
-
getBestResult
@Nullable() ImageSource getBestResult()
Get the best result overall (closest in size to the view's size). Can be null if there wereno sources to choose from, or if there were more than 1 sources but width/height were 0.
-
getBestResultInCache
@Nullable() ImageSource getBestResultInCache()
Get the best result (closest in size to the view's size) that is also in cache. If this wouldbe the same as the source from getBestResult, this will return
{@code null}
instead.
-
-
-
-