You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All view holders are cached when bound and un-cached when recycled, you can get an unmodifiable Set with all bound view holders with getAllBoundViewHolders(). This technique works correctly when RecyclerView wants to reuse the ViewHolder, but the sticky view holders, created out of the RecyclerView, are not recycled, so they remain un-cached in the Set and it might generate a memory leak with a long scroll usage.
Version affected: from RC1 to 5.0.1.
Solution has already been identified: Those sticky view holders won't be cached anymore.
I will publish a 5.0.2 as soon as I finalize the code.
The text was updated successfully, but these errors were encountered:
All view holders are cached when bound and un-cached when recycled, you can get an unmodifiable Set with all bound view holders with
getAllBoundViewHolders()
. This technique works correctly when RecyclerView wants to reuse the ViewHolder, but the sticky view holders, created out of the RecyclerView, are not recycled, so they remain un-cached in the Set and it might generate a memory leak with a long scroll usage.Version affected: from RC1 to 5.0.1.
Solution has already been identified: Those sticky view holders won't be cached anymore.
I will publish a 5.0.2 as soon as I finalize the code.
The text was updated successfully, but these errors were encountered: