Search in sources :

Example 1 with WebpDrawable

use of com.bumptech.glide.integration.webp.decoder.WebpDrawable in project bttv by bttv-android.

the class Glide method setWebpCallback.

public static void setWebpCallback(Drawable drawable, Drawable.Callback cb) {
    if (!(drawable instanceof WebpDrawable)) {
        return;
    }
    WebpDrawable webpDrawable = (WebpDrawable) drawable;
    webpDrawable.setCallback(cb);
}
Also used : WebpDrawable(com.bumptech.glide.integration.webp.decoder.WebpDrawable)

Aggregations

WebpDrawable (com.bumptech.glide.integration.webp.decoder.WebpDrawable)1