private val _qualifications: MutableStateFlow<List<QualificationView>?> = MutableStateFlow(null)
val qualifications:StateFlow<List<QualificationView>?> = _qualifications
I’m trying to use qualifications between parent fragment and bottomSheet, but consumer collects list just once.
Screenshot of the code below.
h
heckfyxe
01/17/2022, 7:46 PM
Try to create new list, don't use existing. I think it doesn't work, because JVM use links to objects, so for flow state no any changes