Package-level declarations
Functions
Link copied to clipboard
Factory method to create any AndroidViewModel with Application
Link copied to clipboard
fun <T> Flow<T>.toStateFlow(initialValue: T, started: SharingStarted = SharingStarted.Lazily): StateFlow<T>
Converts a cold Flow into a hot StateFlow in the context of a ViewModel