enighma
04/03/2021, 10:35 PMvar expanded by remember { mutableStateOf(false) }
Currently this gives me a compilation issue in beta2.
I can write
var expanded = remember { mutableStateOf(false) }
But that makes more painful to use.
Is this something that has changed, or a bug?Adam Powell
04/03/2021, 11:44 PMimport androidx.compose.runtime.*
if the IDE isn't offering to import getValue
and setValue
as quick fixes. Optimize imports from there if you want it to expand the star import.Sergey Y.
04/03/2021, 11:51 PMenighma
04/04/2021, 12:10 AM