JakeWharton / RxBinding

RxJava binding APIs for Android's UI widgets.
Apache License 2.0
9.68k stars 973 forks source link

How should we use RxBinding with GestureDetector and GestureListeners ? #172

Open Lakedaemon opened 8 years ago

Lakedaemon commented 8 years ago

We can observe MotionEvents but, if I'm not mistaken, a GestureDetector is used through inheritance in the onTouchEvent Method of a view (i.e it takes code to set and unset) and intercepts (or not) motion events

What would be the best way to observe the many events provided by the gesture detector ?

JakeWharton commented 8 years ago

There was an early proposal in #128. I'm open to something like this, I just haven't had the time to invest in looking into it.