Hi all. the question might be a bit stupid, yet i ...
# compose
k
Hi all. the question might be a bit stupid, yet i want to ask it. 1)How does compose resolve layout? (each frame, build + cache, some kind of states), is it somehow relate to
onLayout
onMeasure
or so. Is it just a single view with 'draw' instructions genereated by compose? 2) Am i righre
+memo
- just cache for some kind of date to reuse and not to stere in memory twise,
+state
-some kind of 'model' that reatain state regardless activity state. And what is differences in those
g
Probably this article from Leland would be interesting for you, it covers some core concepts of Compose http://intelligiblebabble.com/compose-from-first-principles/
👍 1