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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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