Palette.PaletteAsyncListener


public interface Palette.PaletteAsyncListener


Listener to be used with generateAsync or generateAsync

Summary

Public methods

abstract void

Called when the Palette has been generated.

Public methods

onGenerated

Added in 1.0.0
abstract void onGenerated(@Nullable Palette palette)

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