I have built a number of projects and components with Jetpack Compose. I've read the docs and other tutorials, sites, and posts on StackOverFlow.
I am unclear about when I am allowed to use composables and composable functions inside of another composable, particularly with a LazyColumn.
I have components where I use a Row or a Column inside of a LazyColumn. Other times I try to create an itemsIndexed list that creates a series of Rows or Cards and I get an error that @Composable invocations can only happen from the context of a @Composable function.
Isn't the LazyColumn considered a @Composable function? The entire LazyColumn is within a @Composable function itself.
I'm confused about where the context changes from a composable environment to a non-composable environment.
Can anyone explain? What am I confusing?