ClickOnIssue

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

An issue in the library was tapped. Open it in the reader.

Fired whatever state its download is in: Reader.open picks up an unfinished one, and shows its own retry for a failed one. A tap in selection mode ticks the cell instead and is not reported.

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