Lazy and amazy – Lazy layouts in Compose

Simona Stojanovic
Android Developer Relations Engineer
Google

Lazy and amazy – Lazy layouts in Compose

Simona Stojanovic
Android Developer Re ...
Google

Lazy and amazy – Lazy layouts in Compose

Simona Stojanovi ...
Android Developer Relatio ...
Google

Video Infos
Author
Published
Topics
,
Author
Published
Jetpack Compose brings a much simpler way to create scrolling layouts than the RecyclerView before it, with fewer lines of code. In this talk, we take a closer look at Lazy layouts in Compose and how this API enables adding content on demand. We will learn about Lazy composables - how and when to use them, how they are built and how they work under the hood, as well as how to change their default implementation to adjust them to your specific design needs. We will also talk about how to optimise for performance with faster scrolling, why you should always provide unique keys, as well as avoid 0-pixel sized items and nesting components scrollable in the same direction. Understanding the low level details of how Lazy works in Compose can set the path for implementing custom Lazy layouts for more complex requirements. We will also take a look at some exciting new features, such as Lazy grids and item animations.

LATEST ANDROID JOBS

update your work life

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu