https://kotlinlang.org logo
#compose
Title
# compose
k

katz

10/30/2019, 11:28 PM
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

gildor

10/31/2019, 12:23 AM
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
2 Views