Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

Palette.PaletteAsyncListener

public static interface Palette.PaletteAsyncListener

androidx.palette.graphics.Palette.PaletteAsyncListener


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

Summary

Public methods

abstract void onGenerated(Palette palette)

Called when the Palette has been generated.

Public methods

onGenerated

public abstract void onGenerated (Palette palette)

Called when the Palette has been generated. null will be passed when an error occurred during generation.

Parameters
palette Palette