icerockdev / moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
1k stars 95 forks source link

flatMap creates extra shadow LiveData's #53

Closed Tetraquark closed 4 years ago

Tetraquark commented 4 years ago

In current implementation of flatMap extension of the LiveData class there is an extra "shadow" LiveData objects which passes wrong data to an observers and makes extra calls for the transformation callbacks.