Open dgochev opened 1 year ago
Seems like the latch isn't entirely serving its purpose, and afterObserve
isn't actually being done after observing. Maybe the name just isn't clear -- is the purpose of afterObserve
to do something right after the .observeForever
?
getOrAwaitValue
inLiveDataTestUtil
should invokeafterObserve
only if the latch is satisfied (i.e. data was changed)