This file contains hidden or 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
import androidx.lifecycle.SavedStateHandle | |
import kotlinx.coroutines.flow.MutableStateFlow | |
private class SavingFlow<T> private constructor( | |
private val save: (T) -> Unit, | |
private val msf: MutableStateFlow<T> | |
) : | |
MutableStateFlow<T> by msf { | |
constructor( |
OlderNewer