Skip to content

Instantly share code, notes, and snippets.

@Aldikitta
Last active June 18, 2023 13:18
Show Gist options
  • Save Aldikitta/a65c920cd755d8ec237ea9edcb7bbc8c to your computer and use it in GitHub Desktop.
Save Aldikitta/a65c920cd755d8ec237ea9edcb7bbc8c to your computer and use it in GitHub Desktop.
private val _uiStateDetail =
MutableStateFlow<VisitingDetailUiState>(VisitingDetailUiState.Loading)
val uiStateDetail = _uiStateDetail.asStateFlow()
private val _eventFlow = MutableSharedFlow<VisitingUiEvent>(replay = 1)
val eventFlow = _eventFlow.asSharedFlow()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment