com.bumptech.glide.request.target.DrawableThumbnailImageViewTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glide Show documentation
Show all versions of glide Show documentation
A fast and efficient image loading library for Android focused on smooth scrolling.
package com.bumptech.glide.request.target;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;
/**
* Efficiently displays multiple Drawables loaded serially into a single {@link android.view.View}.
*/
public class DrawableThumbnailImageViewTarget extends ThumbnailImageViewTarget {
public DrawableThumbnailImageViewTarget(ImageView view) {
super(view);
}
public DrawableThumbnailImageViewTarget(ImageView view, boolean waitForLayout) {
super(view, waitForLayout);
}
@Override
protected Drawable getDrawable(Drawable resource) {
return resource;
}
}