DrawableLoader

A loader for Android drawable resources that converts them to ImageBitmap for palette generation.

This loader uses the Android Context to decode drawable resource IDs into bitmaps.

Parameters

context

The Android Context used for loading drawable resources.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard
open suspend override fun load(@DrawableRes input: Int): ImageBitmap