public interface

Palette.PaletteAsyncListener

 androidx.palette.graphics.Palette.PaletteAsyncListener

Overview

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

Summary

Methods
public voidonGenerated(Palette palette)

Called when the Palette has been generated.

Methods

public void onGenerated(Palette palette)

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