Join Slack
Communities
Powered by
Since StateFlow conflates all values, with Turbine...
# squarelibraries
j
Javier
12/28/2020, 11:14 AM
Since StateFlow conflates all values, with Turbine I am having problems to test de initial state, I searched for a workaround based on this
https://medium.com/androiddevelopers/testing-two-consecutive-livedata-emissions-in-coroutines-5680b693cbf8
Is it possible that Turbine does that out of the box? Another thing I thought is using a normal Flow in ViewModels and stateIn it in Fragments.
2
Views
Open in Slack
Previous
Next