Created
October 27, 2016 09:33
-
-
Save ParkSangGwon/a1ac9966c4fd35997c5ffadc77d695ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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