LibraryScreen

fun LibraryScreen(onEvent: (LibraryEvent) -> Unit, colors: LibraryColors = LibraryDefault.libraryColors())

Screen listing every issue the download manager holds for the current profile — finished downloads as well as the queued, running, paused and failed ones — as a grid of covers.

It takes no identifier: what it lists is the device's own download list, scoped to whichever profile the SDK is running under, so it re-lists itself on its own when the profile changes.

The grid doubles as an editor: its "Edit" action puts the cells in selection mode, from which several downloads can be deleted in one go. That is a local operation — deleting a download frees the storage it took and nothing else — so it is not reported to the host.

Parameters

onEvent

callback invoked when a UI event is emitted

colors

styling configuration applied to the library screen