PHondogo
02/13/2024, 2:33 PM@Composable invocations can only happen from the context of a @Composable function
.
It fails at those places where I use lambda for passing composables as paramaters. Now I need to explicitly write @Composable annotation on each such lambda.
For example: ListItem(supportingContent = @Composable {})
Previously I can write: ListItem(supportingContent = {})
Is it required for K2 now, or somehow can be set to compile without such restrictions?dmitriy.novozhilov
02/13/2024, 2:42 PM