-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of RxView.clicks() #282
Comments
Treat a subscribed So if you're just subscribing inside your ViewHolder there's no need to unsubscribe just like there'd be no need to unregister a click listener were you doing it manually. |
Thanks Jake! |
Is this still valid? Started seeing |
It's just a warning and |
Hi,
I wanted to get some clarity on the usage of RxView.clicks(), and whether it's necessary to unsubscribe.
I've seen multiple usages of RxView.clicks():
plain:
takeUntil:
subscription:
Do we need to unsubscribe?
My particular use case is for a child view in a RecyclerView viewholder. Using RxView.detaches() doesn't fit well, because I don't have a clean way to re bind when the view is attached again.
What are your thoughts?
The text was updated successfully, but these errors were encountered: