StaggeredGridView
StaggeredGridView copied to clipboard
ScrollTo move whole layout not just content!
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!
The thing i want to to really is to keep the current list position when adding an item, is that possible with this list?
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?
Just found a solution that works very well for me that restore the previous position http://stackoverflow.com/a/5688490/1319519
I just the issue to save the position with this post: https://github.com/maurycyw/StaggeredGridView/issues/11 but it doesn't fix the margin problem.
Does your solution fixes the margin problem?
scrollBy() also has the same issue.