knthmn
04/03/2021, 2:18 PMIllegalStateException: Start/end imbalance
@Composable fun A() = Row { if (true) return }
It does not happen if I remove the if
or if I use return@Row
Adam Powell
04/03/2021, 3:02 PMAdam Powell
04/03/2021, 3:02 PMjulioromano
07/21/2021, 2:01 PMPaul Woitaschek
01/24/2023, 4:47 PMAdam Powell
01/24/2023, 7:57 PMPaul Woitaschek
01/24/2023, 8:04 PMPaul Woitaschek
01/24/2023, 8:04 PMclass MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Column {
if (true) return@Column
}
}
}
}
đŸ’¥Paul Woitaschek
01/24/2023, 8:09 PMPaul Woitaschek
01/28/2023, 7:53 PM