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

ScrollTo move whole layout not just content! #25

Open
joakim5937x opened this issue Apr 20, 2013 · 5 comments
Open

ScrollTo move whole layout not just content! #25

joakim5937x opened this issue Apr 20, 2013 · 5 comments

Comments

@joakim5937x
Copy link

When I use staggeredView.scrollTo(0, 100); it change the views offset to the top.
A margin is created and items in the list over the point y=100 cant be viewed, you cant scroll over y=100. Also the touch becomes twisted, when you press a point in the view a point 100 px over it gets pressed.
What can i do to fix this?

Sorry for the bad English!

@joakim5937x
Copy link
Author

The thing i want to to really is to keep the current list position when adding an item, is that possible with this list?

@Thomschie
Copy link

I have the same problem. When i call Adapter.notifyDataSetChanged() and i am nearly at the bottom of the gridview, the view jumps back to top position. Another thing is, that a free space is added in one of the top columns.

Any ideas?

@joakim5937x
Copy link
Author

Just found a solution that works very well for me that restore the previous position http://stackoverflow.com/a/5688490/1319519

@Thomschie
Copy link

I just the issue to save the position with this post: #11
but it doesn't fix the margin problem.

Does your solution fixes the margin problem?

@psyren89
Copy link

scrollBy() also has the same issue.

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