JakeWharton / RxBinding

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

RecyclerView can't use itemClicks #555

Closed xyzeng12 closed 3 years ago

xyzeng12 commented 3 years ago

Because RecyclerView not extends of AdapterView,so it can't use itemClicks,what should I do?

JakeWharton commented 3 years ago

You will have to propagate events yourself from the adapter and the views it creates using a subject or relay. This library is only responsible for adapting the exposed callbacks of a view as observables.