I create MutableStateFlow:
private val _currentTypePlanning = MutableStateFlow<Int?>(TAG_PLANNING_WITH_DATE)
Then I listen:
_currentTypePlanning.collect { type ->
reloadData()
}
When creating a collect, it is immediately called. But I need the starting value not to call collect during initialization. I only need to listen for subsequent changes. Is there a way to do this?