Litho uses a declarative API to define UI components. You simply describe the layout for your UI based on a set of immutable inputs and the framework takes care of the rest. With code generation, Litho can perform optimisations for your UI under the hood, while keeping your code simple and easy to maintain. Litho can measure and layout your UI ahead of time without blocking the UI thread. By decoupling its layout system from the traditional Android View system, Litho can drop the UI thread constraint imposed by Android. Litho uses Yoga for layout and automatically reduces the number of ViewGroups that your UI contains. This, in addition to Litho's text optimizations, allows for much smaller view hierarchies and improves both memory and scroll performance.

Features

  • With Litho, each UI item such as text, image, or video is recycled individually
  • As soon as an item goes off screen, it can be reused anywhere in the UI and pieced together with other items
  • Reduces the need of having multiple view types and improves memory usage
  • Flatter view hierarchies and asynchronous layout
  • Any component such as a text or image can be recycled and reused anywhere in the UI
  • Litho can be integrated either in Gradle or Buck projects

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Litho

Litho Web Site

Other Useful Business Software
Build AI Apps with Gemini 3 on Vertex AI Icon
Build AI Apps with Gemini 3 on Vertex AI

Access Google’s most capable multimodal models. Train, test, and deploy AI with 200+ foundation models on one platform.

Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Litho!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Build Tools, Java Frameworks, Java User Interface (UI) Software

Registered

2021-08-04