https://kotlinlang.org logo
#rx
Title
# rx
z

zak.taccardi

02/02/2017, 8:56 PM
how do you guys expose a click event as an observable from within a
ViewHolder
within
RecyclerView
? Would it be bad form to use a `Subject`/`Relay` (that's scoped to the containing ViewGroup/Fragment/Activity), which the
ViewHolder
has a reference to?
b

bamdmux

02/06/2017, 6:26 AM
zak.taccardi: In my base implementation I have 2 rxrelays, one for click and another for longclicks
6 Views