SeslRecentColorInfo

A utility class to manage recent color information for SeslColorPicker.

This class stores and manages the currently selected color, the new color being picked, the current color before picking, and a list of recently used colors. It is used internally by SeslColorPicker to provide recent color functionality.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Nullable
open fun getCurrentColor(): @Nullable Integer
Link copied to clipboard
@Nullable
open fun getNewColor(): @Nullable Integer
Link copied to clipboard
@Nullable
open fun getSelectedColor(): @Nullable Integer
Link copied to clipboard
open fun initRecentColorInfo(@Nullable colorIntegerArray: Array<Int>)
Link copied to clipboard
open fun saveSelectedColor(selectedColor: Int)
Link copied to clipboard
open fun setCurrentColor(@Nullable currentColor: @Nullable Integer)
Link copied to clipboard
open fun setNewColor(@Nullable newColor: @Nullable Integer)