~/talk

WebView Implementations in the 2020s

TalkinJapaneseat DroidKaigi 2021 · 2021-10-19..10-21· [android, web-platform]
links:none on file
slides:none on file

Cookpad modernized an eight-year Android WebView implementation into a single centralized architecture that unifies lifecycle handling, file chooser and authentication handoffs while still allowing per-screen customization. They introduced comprehensive JS-call logging and method classification to reduce 45 unmanaged JS methods to 10 usable and 2 deprecated, raised minimum target to API 23+ (or at least API 21 for updatable WebView), and consolidated ~5,000 LOC across 2 activities and 4 fragments into the refactored stack.

AI-written summary · about

  1. 0:00Web view implementations intro
  2. 2:09Why web views needed
  3. 3:55Android web views history
  4. 6:24Web view lifecycle
  5. 7:06Cookpad’s journey
  6. 9:102010s challenges
  7. 12:01Modern architecture
  8. 14:08VIPER for web views
  9. 17:16Centralizing code
  10. 21:32Gaps in architecture
  11. 23:15Future improvements
~/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.