zt
09/28/2022, 10:59 PMFATAL EXCEPTION: main
Process: com.hyperion, PID: 13405
java.lang.ArrayIndexOutOfBoundsException: length=7430; index=7431
at androidx.compose.runtime.SlotTableKt.hasMark(SlotTable.kt:3169)
at androidx.compose.runtime.SlotTableKt.access$hasMark(SlotTable.kt:1)
at androidx.compose.runtime.SlotReader.hasMark(SlotTable.kt:827)
at androidx.compose.runtime.ComposerImpl.reportFreeMovableContent$reportGroup(Composer.kt:3500)
at androidx.compose.runtime.ComposerImpl.reportFreeMovableContent(Composer.kt:3593)
+ 300 more linesAlex Vanyo
09/28/2022, 11:11 PMRow(
modifier = Modifier.padding(paddingValues)
) {
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
NavRail(
currentDestination = currentDestination,
onClickDestination = mainRootNavigator::replace
)
}
taxi(Modifier.weight(1f))
}
and not need movableContentOf
zt
09/28/2022, 11:18 PMAlex Vanyo
09/28/2022, 11:29 PMRow
at all, Compose is really good about nesting layouts for cases like this.
Your use of movableContentOf
should work though, just wanted to make sure you weren’t blocked on figuring that out 😄