You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LiveData<T>.debounce(delayMillis: Long) extension relies on the Handler class, which makes view models difficult to test without Robolectric.
A possible solution is to wrap Handler with an interface and provide an API for overriding the default implementation. Something similar to RxJavaPlugins
The text was updated successfully, but these errors were encountered:
The
LiveData<T>.debounce(delayMillis: Long)
extension relies on theHandler
class, which makes view models difficult to test without Robolectric.A possible solution is to wrap
Handler
with an interface and provide an API for overriding the default implementation. Something similar toRxJavaPlugins
The text was updated successfully, but these errors were encountered: