why use much top-level function in compose?
# compose
z
why use much top-level function in compose?
f
Same reason we use much variables in compose
z
I think the simplest answer is because we can. Things that were top-level classes as classic Android views (
TextView
,
LinearLayout
) are top-level functions in compose (
Text
,
Column
).