-
public class ImageHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceImageHelper.Cache
-
Method Summary
Modifier and Type Method Description static voidsetDownloadResultInImage(@NonNull() ImageView targetImage, @NonNull() AsyncImageDownloadTask.Result result)static voidsetDownloadResultInImageWithResize(@NonNull() ImageView targetImage, @NonNull() AsyncImageDownloadTask.Result<out Object> result, float width)Set the download result in the image view and resize the for the given width. -
-
Method Detail
-
setDownloadResultInImage
static void setDownloadResultInImage(@NonNull() ImageView targetImage, @NonNull() AsyncImageDownloadTask.Result result)
-
setDownloadResultInImageWithResize
static void setDownloadResultInImageWithResize(@NonNull() ImageView targetImage, @NonNull() AsyncImageDownloadTask.Result<out Object> result, float width)
Set the download result in the image view and resize the for the given width.
- Parameters:
targetImage- The target image view.result- The download result.width- The width to resize the image to.
-
-
-
-