Java Code Examples for com.bumptech.glide.load.resource.drawable.GlideDrawable#LOOP_FOREVER

The following examples show how to use com.bumptech.glide.load.resource.drawable.GlideDrawable#LOOP_FOREVER . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GlideDrawableViewBackgroundTarget.java    From glide-support with The Unlicense 4 votes vote down vote up
public GlideDrawableViewBackgroundTarget(ImageView view) {
	this(view, GlideDrawable.LOOP_FOREVER);
}
 
Example 2
Source File: GlideDrawableImageViewTarget.java    From giffun with Apache License 2.0 2 votes vote down vote up
/**
 * Constructor for an {@link Target} that can display an
 * {@link GlideDrawable} in an {@link ImageView}.
 *
 * @param view The view to display the drawable in.
 */
public GlideDrawableImageViewTarget(ImageView view) {
    this(view, GlideDrawable.LOOP_FOREVER);
}