Open-sourcing Litho, a declarative UI framework for Android
Apr 18, 2017Pasquale Anatriello, Marco Cova

Summary
This post introduces Litho, a declarative UI framework for Android, open-sourced from Meta. Litho aims to improve UI performance by decoupling layout operations from Android views using React's declarative model and Yoga layout system, allowing heavy measure and layout operations to be moved to a background thread. It also breaks down complex views into smaller, incrementally rendered pieces and recycles them, reducing memory usage and improving scroll performance by up to 35%.
More from the News Feed and Timeline Evolution trail
- Friend Bubbles: Enhancing Social Discovery on Facebook Reels
- A New Ranking Framework for Better Notification Quality on Instagram
- Inside Facebook’s video delivery system
- Improving Instagram notification management with machine learning and causal inference
- A linear programming approach for optimizing features in ML models