<Kotlin combine two callbackflows depending from e...
# stackoverflow
u
Kotlin combine two callbackflows depending from each other I have data class, MySection, which has the ID in it. I have another data class MyArticle whdoesn'ton't care about its content To get the Section, private fun getSectionFlowFromZendesk(): Flow = callbackFlow { val listCallBackFlow = object : SectionCallback() { override fun onSuccess(sections: List) { trySend(sections) } override fun onError(errorResponse: ErrorResponse) {...