-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some bugfixes #6
base: master
Are you sure you want to change the base?
Conversation
…load more data on every movement.
Please pull this in! Fixed a bug for me with multiple views. Thanks @brstgt |
Updated xxhdpi icons
…omly during a layout cycle.
…w was removed and another childview changed view index
This is great, thanks a lot! This pull request fixed a lot of issues we had: cells not being reused, reload when long-pressing items, etc. Please merge this request. 👍 |
Sorry, I am a bit confused. What should I Merge? I don't see any commits concerning this in your repo? |
This comment was directed to the maintainer, i.e., he should merge your pull request, as it fixes a lot of bugs. You don't need to do anything. |
However, now I see the view jumping to the top or somehow reloading all items when scrolling fast down. After this initial jump scrolling works fine. What could cause this? |
... i see ... thanks :) @scrolling: But I never had problems with jumping when flinging. We have it in 2013/12/2 bm-i [email protected]
|
P.S.: You can simply fork my version. I am sorry for some confusing commit messages. The reason is, that this is 2013/12/2 benjamin roth [email protected]
|
I just switched over to your fork and made the adapter return true in |
Maybe the height of your views "changed"? Do you return the right value for This initialized my grid view:
StaggeredGridView.OnLoadmoreListener() {
StaggeredGridView.JumpToTopListener() {
2013/12/2 bm-i [email protected]
|
Thanks for the help! I just created a small demo adapter which returns fixed size views, and |
If you have a completely new dataset, you should re-set the adapter using Yes - it is frustrating - was also for me. But actually i also did not find 2013/12/2 bm-i [email protected]
|
Well, I actually want to add new data when reaching the end of the view, On 2 Dec 2013, at 16:05, Benjamin Roth [email protected] wrote:
|
Stupid question: You are really sure you have my master branch and it is really compiled in? Maybe your submodule did not update or recompile correctly? At least... implementing an infinite scroller worked very well for me. 2013/12/2 bm-i [email protected]
|
…gin) changed so that column mapping is correct when scrolling up
…a, scrolling more down and back up. This wrecked the column offsets by falsely incrementing mFirstPosition when removing footer view
Final feedback
Great updates, works a lot better now in one of the earlier commit! Though in the last version I am getting a nullpointer. for (int i = 0; i < colCount; i++) { I am not using any header or bottom view. I'll keep using one of you're previous commits. |
Thanks for you reply. I have tried it but mItemTops is null so it throws a nullpointer exception Kind regards, 2014-12-10 20:05 GMT+01:00 Fluxinated [email protected]:
|
…tener. Replace by generic onScrollListener
…es to left of first and right of last item in a row. In contrast to padding this does not apply to header view
… detached from window
Please review my changes and pull them if possible.
I don't know exactly what the intention was in AdapterDataSetObserver.onChanged if lazyload is set. It did not work for me as it realigned the first visible position after a load, which IMHO should not happen.
With my small changes, the list works great for me.