Implement onDetachedFromWindow on EpoxyRecyclerView
See original GitHub issueHey @elihart, It would be awesome if ExpoyRecyclerView implemented by default the Wiki recommendations to avoid memory leaks such as overriding onDetachedFromWindow
. Maybe also expose some setter so that users can disable its default implementation in case they want to handle this by themselves.
Anyway, can’t stress it enough: Thanks for the hard work mate.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
EpoxyRecyclerView (epoxy-adapter 2.17.0 API) - javadoc.io
A RecyclerView implementation that makes for easier integration with Epoxy. ... this is the delay in milliseconds between when onDetachedFromWindow() is ...
Read more >android - Equivalent of onAttachedToWindow ... - Stack Overflow
We can implement View.OnAttachStateChangeListener in our ViewHolder : class SomeViewHolder(itemView: View) : RecyclerView.
Read more >Carousel (epoxy-adapter 3.1.0 API) - mvndoc.com
Provide a SnapHelper implementation you want to use with a Carousel. Nested classes/interfaces inherited from class com.airbnb.epoxy.EpoxyRecyclerView.
Read more >RecyclerViews made easy with Epoxy | by Sasikanth - Medium
We are calling requestModelBuild() on setter to let the controller know the data is changed and models needs to be rebuilt. You can...
Read more >Airbnb Epoxyで入力フォームを作ってみる - ビー鉄のブログ
How do I use Epoxy to create forms? このIssueの中で以下のように言われ ... 今回はRecyclerViewを拡張したEpoxyRecyclerViewを使用しています。
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@elihart Sorry, hectic week. Just checked the changes, they all look great. I’ll try toying around with it a bit and will let you know in case I notice anything weird.
Cheers mate! and thanks again for this amazing lifesaver!
change is merged!