Not able to collect flow data in another activity?
I am trying to collect flow data in activity A emitted from the Activity B but not receiving collect in Activity A,
Is flow emit data inside current activity only ? Please help me in it.
Emitting data from fragment view model added on activity B
launchOnMainDispatcher {
IdMissionFwkManager._resultFlow.emit("{}")
_effectFlow.emit(VstIdentificationEffect.Cancel)
}
Activity B flow collect receiving
IdMissionFwkManager.VzRegisterIdMissionFlow()...