Anko Tasting Session
summary
Anko-based Android UI implementation: explains using Anko DSL for view layouts (receiver-lambda scope switching), techniques for custom views and reusable components, and runtime trade-offs (flaky previews, minor render speedup). Compares three ways to assign ids, warns that generateViewId can break fragment restoration and cause ClassCastException, and shows a working workaround using line-number ids while advising caution with ProGuard.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:57Anko overview
- 3:53Anko DSL syntax
- 7:33Anko pros and cons
- 11:16Anko internals
- 21:25Safe view handling
- 26:22View ID conflicts
- 30:10Summary and Q&A








