Advertisement
Cabaca

Untitled

Aug 14th, 2024
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.23 KB | None | 0 0
  1. @NativeCoroutines
  2. val _selectedDate = MutableStateFlow(viewModelScope, Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()).date)
  3. @NativeCoroutinesState
  4. val selectedDate: StateFlow<LocalDate> get() = _selectedDate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement