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
When Carousel.java is used within a RecyclerView and is getting attached and detached to the layout, the internal list "mList" holding the references for the child views gets bigger and bigger. As a result, the linking between internal data and displayed data gets out of sync, meaning wrong data gets displayed.
With every call of onAttachedToWindow the list grows but never gets cleared.
A simple fix might be to just clear the list when the Carousel gets detached from the view.
The text was updated successfully, but these errors were encountered:
When Carousel.java is used within a RecyclerView and is getting attached and detached to the layout, the internal list "mList" holding the references for the child views gets bigger and bigger. As a result, the linking between internal data and displayed data gets out of sync, meaning wrong data gets displayed.
With every call of onAttachedToWindow the list grows but never gets cleared.
A simple fix might be to just clear the list when the Carousel gets detached from the view.
The text was updated successfully, but these errors were encountered: