Created
August 1, 2021 21:32
-
-
Save sergenes/42a5d62a6df7ac9a824b4c8275cffe0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ScreenModel { | |
private lateinit var screenState: MutableState<ListScreenState> | |
@Composable | |
fun Init(state: ListScreenState = Idle) { | |
screenState = remember { | |
mutableStateOf(state) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment