Google 致力于为黑人社区推动种族平等。查看具体举措
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