ArchivesEvent

sealed interface ArchivesEvent

What the user did on co.cafeyn.cgs.api.features.publication.ArchivesScreen. The screen never navigates on its own — handle these to decide where each interaction leads.

Inheritors

Types

Link copied to clipboard
data class ClickOnIssue(val issue: IssueShort, val page: Int = 1, val context: Map<String, Any> = emptyMap()) : ArchivesEvent

An archived issue was tapped. Open it with Reader.open, which downloads it first if it is not on the device.