What can I do if I need to put a
lazycolumn
inside a
lazycolumn
? I'm getting this error:
> IllegalStateException: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed.
I know that as doc says (
https://developer.android.com/develop/ui/compose/lists#avoid-nesting-scrollable), we must avoid nesting components scrollable in the same direction.
But my app is an special app, like an "app constructor" in which the user can construct an app using different types of items, for example: texts, images, vertical scroll containers (
lazycolumns
), horizontal scroll containers (
lazyrows
), etc and for example, the user is free to put a vertical scroll, with some text and an horizontall scroll, and that horizontal scroll can have a verticall scroll inside. I need to know how to achieve this