`java.lang.IllegalStateException: No child for pos...
# glance
k
java.lang.IllegalStateException: No child for position 5 and size Wrap x Expand
Is there an easy way to figure out what is wrong with my composables when I get this error? What does the position stand for? It happens when I use
defaultWeight
GlanceModifier.
@Marcel Pinto It was happening because I was wrapping some Composables that had
defaultWeight
(ColumnScope) GlanceModifier, with a Box. I guess Android Studio should show a warning in these cases.