Overcoming the Challenges of Integrating an Epub Viewer into a Mo…
summary
Shows a working integration of an EPUB viewer into Jetpack Compose using Esky EPUB SDK and AndroidView in Compose, with a concrete app that supports paging, a seek bar, table of contents and font-size changes. Explains avoiding unnecessary recompositions by moving heavy init to the factory, short updates in update, and using rememberSaveable/state holder plus ViewModel for single source of truth. Gives actionable sync flows (SDK index → state holder → composables and reverse), and performance tips like skipping activity recreation and preopening books to avoid costly analysis.
AI-written summary · about
chapters (14)
- 0:00Epub viewer integration
- 1:05What is epub and SDKs
- 4:00Modern epub app architecture
- 5:49Android View composable challenges
- 7:18Factory and update blocks
- 10:11Lifecycle side effects
- 11:34Simple overlays with Compose
- 11:56Sync Android View and Compose
- 14:12State management in epub viewers
- 16:44ViewModel vs UI state holders
- 23:01Data flow and single source
- 26:17High-performance epub viewer
- 26:58Advanced epub SDK tips
- 30:58Future of epub and Q&A
related talks
33mMigrating to Jetpack Compose - an interop love story
38mFrom Android View to Jetpack Compose — A Guide to Migrating to Jetpack Compose
43mSwitching to Compose? Don’t Rush!
38metpack Compose Q&A
37mAdopting Jetpack Compose Safely
47mUp to Date? Talking About Your App
48mLearning Jetpack Compose By Example
01h 12mJetpack Compose over inheritance
