Skip to content

Submiting epub preferences to NavigatorFragment #464

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

You must be logged in to vote

Did you take a look at the Navigator preferences user guide?

You can observe EpubNavigatorFragment.settings, which is a StateFlow<EpubSettings>. However, you usually don't need to do that. Since you store and submit the preferences when they change, you already know the latest state of the preferences and when the UI needs to be refreshed. In other words, the preferences persistence store is the source of truth for preferences, not the navigator settings.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ladiesman2127
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