All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bumptech.glide.request.target.DrawableThumbnailImageViewTarget Maven / Gradle / Ivy

Go to download

A fast and efficient image loading library for Android focused on smooth scrolling.

There is a newer version: 5.0.0-rc01
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy