dagomni
05/28/2020, 11:57 AMAdapterList with Modifier.fillMaxSize()
-Box with Modifier.wrapContentHeight() + Modifier.fillMaxWidth()
--ConstraintLayout with Modifier.wrapContentHeight() + Modifier.fillMaxWidth() (I can also see non-stop constraints measure happening, it also gets logged)
---Box with Modifier.fillMaxWidth() + Modifier.aspectRatio(16 / 9f)
----WithConstraints
-----Image (but it also happens with empty WithConstraints block)
Crash:
java.lang.IllegalStateException: Asking for measurement result of unmeasured layout modifier
at androidx.ui.core.LayoutNodeWrapper.getMeasureResult(LayoutNodeWrapper.kt:63)
at androidx.ui.core.LayoutNodeWrapper.getMeasuredSize(LayoutNodeWrapper.kt:53)
at androidx.ui.core.Placeable.getWidth(Placeable.kt:40)
at androidx.ui.core.LayoutNode.getWidth(LayoutNode.kt:373)
at androidx.ui.foundation.ListState.composeAndMeasureNextItem-BTEqjtU(AdapterList.kt:237)
manueldidonna
05/28/2020, 12:51 PMAndrey Kulikov
05/28/2020, 1:28 PM