Litho: A Declarative UI Framework for Android
summary
Litho is an open source UI framework (open sourced April 2017) that shifts layout off the main thread and reduces view inflation by calculating bounds in a background thread, doing background-thread layout, performing automatic view flattening so one view can draw many subelements, and using fine-grain recycling plus incremental mount to spread work across frames. Facebook reports large wins on heavy RecyclerView feeds (used in Facebook, Messenger, Workplace, Facebook Lite) and fewer dropped frames.
AI-written summary · about
chapters (7)
- 0:00Introduction to Litho
- 1:01Why Litho was built
- 15:17Litho’s declarative UI model
- 26:19Under the hood of Litho
- 36:34Performance benefits of Litho
- 38:18Future of Litho
- 41:06Litho at Facebook
related talks
42mLitho: Best Practices for building efficient UIs
37mMulti-threaded Rendering on Android (with Litho & Infer)
21mThe Art of Changing Large Software Systems in Place
48mEfficient Android Layouts
41mLoving Lean Layouts
46mBuilding a modern Android UI
48mA page out of Server driven UI on Android
27mView into the abyss
