Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Glide.with(this)
.load("http://...")
.asBitmap()
.into(new BitmapImageViewTarget(ivImage) {
@Override
public void onResourceReady(Bitmap bitmap, GlideAnimation anim) {
super.onResourceReady(bitmap, anim);
Palette palette=Palette.from(bitmap).generate();
//...
//...
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment