Skip to content

Error while navigating back in nested navigation #564

Answered by mickael-menu
Trassive asked this question in Q&A
Discussion options

You must be logged in to vote

The EpubNavigatorFragment requires a fragment factory, see https://github.com/readium/kotlin-toolkit/blob/develop/docs/guides/navigator/navigator.md#epubnavigatorfragment

Even if you use AndroidFragment, you need to set the fragment factory in the hosting Activity.

Note that Jetpack Compose is not officially supported by Readium yet, so you might still encounter other issues. I'm not sure it was ever used in production with Jetpack Compose.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Trassive
Comment options

@mickael-menu
Comment options

Answer selected by Trassive
@Trassive
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants