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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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