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
{{ message }}
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
I am trying to load photos thumbnails into TwoWayView with UniversalImageLoader. The issue happens if I have many photos to load such as over 500. When I scroll the screen from top to bottom, then bottom to top. After couple times, all items are gone, or there is a white spacing at the top.
The text was updated successfully, but these errors were encountered:
Hi! I have been facing the same issue and I am trying to figure out why this happens. Have you been able to find a possible solution or the cause of the problem?
I did some investigate for a while and I may find the root cause but I did not find a solution as I did not go very deep into the source code.
What I find is that the issue is related to the async-loading. The extra spaces were added to mLayoutStart (or did not removed properly when the item is removed) in TwoWayLayoutManager.java. When the mLayouutStart is not calculated correctly, the result is there are more extra space right before the first item.
I did some investigate for a while and I may find the root cause but I did
not find a solution as I did not go very deep into the source code.
What I find is that the issue is related to the async-loading. The extra
spaces were added to mLayoutStart (or did not removed properly when the
item is removed) in TwoWayLayoutManager.java. When the mLayouutStart is not
calculated correctly, the result is there are more extra space right before
the first item.
Hope this is helpful.
—
Reply to this email directly or view it on GitHub #215 (comment).
I am trying to load photos thumbnails into TwoWayView with UniversalImageLoader. The issue happens if I have many photos to load such as over 500. When I scroll the screen from top to bottom, then bottom to top. After couple times, all items are gone, or there is a white spacing at the top.
The text was updated successfully, but these errors were encountered: