~/talk

Overcoming the Challenges of Integrating an Epub Viewer into a Mo…

Talkat DroidKaigi 2023 · 2023-09-14..09-16· [android]
name:bing-zhu
links:none on file
slides:none on file

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

  1. 0:00Epub viewer integration
  2. 1:05What is epub and SDKs
  3. 4:00Modern epub app architecture
  4. 5:49Android View composable challenges
  5. 7:18Factory and update blocks
  6. 10:11Lifecycle side effects
  7. 11:34Simple overlays with Compose
  8. 11:56Sync Android View and Compose
  9. 14:12State management in epub viewers
  10. 16:44ViewModel vs UI state holders
  11. 23:01Data flow and single source
  12. 26:17High-performance epub viewer
  13. 26:58Advanced epub SDK tips
  14. 30:58Future of epub and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.