can anyone point me in the right direction on a st...
# coroutines
j
can anyone point me in the right direction on a strategy for how I might use Flow's
debounce
to debounce text changes from an Android EditText? I've done this previously using RxJava but RxAndroid did the hard work there with
RxTextView.textChanges
.. I'm wondering how I can achieve this in the world of coroutines/flow
g
did the hard work there with
RxTextView.textChanges
It provided by RxBinding, separate library that provide reactive extensions for Android Views. There is no such library for coroutines. But you can write own extension that does this using
callbackFlow
builder function
m
There is a
Flow
library equivalent https://github.com/LDRAlighieri/Corbind
👍 6
j
this library looks fantastic