Has anyone seen this error? I’m on the latest Android Studio canary, compose version, kotlin version
z
Zach Klippenstein (he/him) [MOD]
04/03/2021, 6:53 PM
That error usually means you’re trying to call a composable from a non-composable function. I would suggest taking a look at the LazyColumn docs to see how to use it correctly.
z
zsperske
04/03/2021, 6:54 PM
Thanks! I think I understand what I need to do to fix it. When building the error message is much clearer. But the IDE should probably be better at displaying the error when hovering over it
d
dewildte
04/04/2021, 9:59 PM
LazyColumn requires the use of the items() function