Skip to content
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

listview header glitches a bit when scrolling up from a listview w/ different sized items #10

Open
kenyee opened this issue Nov 30, 2014 · 2 comments

Comments

@kenyee
Copy link

kenyee commented Nov 30, 2014

With a listview set to start at the bottom:
listView.setStackFromBottom(true);
listView.setTranscriptMode(AbsListView.TRANSCRIPT_MODE_ALWAYS_SCROLL);

and with different sized listview items, when you scroll up, the header will pop down and up randomly even though you're going in the same direction. I think it's trying to calculate the position based on the size/height of the listview items (related to how the scroll bar thumb changes size when you scroll in a list w/ items of a different height).

UPDATE: looks like it's because of the bottom up listview...I can scroll all the way to the top and then scroll back down and it works as expected. Still a bug though :-P
The use case is that a chat stream is in the listview. That's why the listview starts at the bottom and goes to the bottom whenever it's updated. Another bug is that the quickreturn header disappears if you update the listview by adding/deleting an item.

@necipallef
Copy link

I have this issue too, when list items have different height header&footer pops randomly. How to fix this?

@samy-baili
Copy link

Someone found a solution about this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants