
A common pattern used to observe the state of a feature can look something like this (borrowed from NowInAndroid): ViewModel.kt val uiState: StateFlow<MainActivityUiState> = userDataRepositor
Principal Android Engineer @ Nike
Hey! I’m Joe! I’m an Android developer who is passionate about the human side of software development.
Markdown supported · ⌘↵ to post
devArthur 4718
Really usefull, smart and well written.