Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.
added in version 22.1.0
belongs to Maven artifact com.android.support:palette-v7:28.0.0-alpha1

Palette.PaletteAsyncListener

public static interface Palette.PaletteAsyncListener

android.support.v7.graphics.Palette.PaletteAsyncListener


Listener to be used with generateAsync(Bitmap, PaletteAsyncListener) or generateAsync(Bitmap, int, PaletteAsyncListener)

Summary

Public methods

abstract void onGenerated(Palette palette)

Called when the Palette has been generated.

Public methods

onGenerated

added in version 22.1.0
void onGenerated (Palette palette)

Called when the Palette has been generated.

Parameters
palette Palette