Skip to content

//readium-navigator/org.readium.r2.navigator/Navigator/Listener/onJumpToLocator

onJumpToLocator

[androidJvm]\ open fun onJumpToLocator(locator: Locator)

Called when the navigator jumps to an explicit location, which might break the linear reading progression.

For example, it is called when clicking on internal links or programmatically calling go, but not when turning pages.

You can use this callback to implement a navigation history by differentiating between continuous and discontinuous moves.