Skip to content

Instantly share code, notes, and snippets.

@luizmarcus
Created February 23, 2016 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizmarcus/037ed84f1dff74aeafc6 to your computer and use it in GitHub Desktop.
Save luizmarcus/037ed84f1dff74aeafc6 to your computer and use it in GitHub Desktop.
//forma assíncrona
Palette.Builder pallete = new Palette.Builder(bitmap);
pallete.generate(new Palette.PaletteAsyncListener() {
@Override
public void onGenerated(Palette palette) {
//código
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment