Skip to main content
Litho: A declarative UI framework for Android

最新查询澳洲幸运5开奖记录的权威方法 | 168澳洲幸运5官网结果记录体彩 | 幸运5中国福彩结果直播 Check it out in the intro video

Declarative

168网®查询澳洲幸运5开奖记录的权威方法 | 168®幸运澳洲5官网直播号码预测结果+最新澳洲5官方结果 Declarative

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.

Asynchronous layout

Asynchronous layout

Litho can measure and layout your UI ahead of最新查询澳洲幸运5开奖记录的权威方法 | 168澳洲幸运5官网结果记录体彩 | 幸运5中国福彩结果直播 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.

Flatter view hierarchies

168网澳洲5历史记录查询号码结果+澳门五分彩168体彩历史走势图记录+澳洲的幸运5®官网结果记录 Flatter view hierarchies

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.

Fine-grained recycling

Fine-grained recycling

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 to create new UI elements. Such recycling reduces the need of having multiple view types and improves memory usage and scroll performance.