Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Add the Publication's positionList #292

Merged
merged 7 commits into from
Mar 20, 2020
Merged

Conversation

mickael-menu
Copy link
Member

@mickael-menu mickael-menu commented Feb 11, 2020

Copy link

@Bolling88 Bolling88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

override fun locationDidChange(navigator: Navigator?, locator: Locator) {
Timber.d("locationDidChange position ${locator.locations.position ?: 0}/${publication.positionList.size} $locator")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the last position could contain several screen pages, it would be helpful with an event that notifies when we reach the end of the book.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened an issue for that: readium/architecture#115

@mickael-menu mickael-menu merged commit c467f64 into develop Mar 20, 2020
@mickael-menu mickael-menu deleted the feature/position-list branch March 20, 2020 16:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants