question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement onDetachedFromWindow on EpoxyRecyclerView

See original GitHub issue

Hey @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.

bitmoji

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
mradzinskicommented, Dec 28, 2017

@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!

0reactions
elihartcommented, Dec 21, 2017

change is merged!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found