Photos, Products, Stories, Ads, Banners • Carousels: Photos, Videos (playing inline), Custom Layouts • Includes: Caching, Refresh Pill, Pagination, Tracking Items and more… • Millions of visits every week • The first page the users see when they enter the app
same result for the same two instances. • When a public property of the type changes, composition will be notified. • All public property types are stable.
Compiler is not defined in the module your object is defined in • Unlike the original model, your UI model consists of primitives only • Annotating the UI model with @immutable or @Stable is safer as there are no side-effects affecting other places in the app.
like: List, Set and Map • Kotlinx immutable collections • Use @immutable/@stable annotations Classes from modules with no dependency on compose runtime • Enable compose compiler • UI models • Wrapper classes and use @immutable/@stable annotations