ClickOnIssue

data class ClickOnIssue(val issue: IssueShort, val page: Int = 1, val context: Map<String, Any> = emptyMap()) : LibraryEvent

A downloaded issue was tapped. Open it in the reader.

Only fired for an issue the download manager has finished: a queued, running or failed one has nothing on disk to open, and the screen leaves its cell to its own download actions instead.

Parameters

issue

the issue that was tapped.

page

where the issue was left off — 1-indexed, the farthest page reached, or 1 if it was never read. Pass it straight to Reader.open's page so the issue resumes where the user left off instead of always starting at page 1.

context

extra key-value data about the interaction, for your own analytics. Empty today.

Constructors

Link copied to clipboard
constructor(issue: IssueShort, page: Int = 1, context: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val page: Int = 1