FreeFlow
FreeFlow copied to clipboard
Scrolling issue
I noticed that if you start scrolling slowly up or down for a bit the container will start to scroll slightly in the other direction thus causing a jerky scrolling experience. It seems like this is occurring when Views are inflated or being loaded into the container. I'm able to reproduce the issue in the sample Artbook app as well. I'll try to get a video of the issue.
Here's a video of the issue I described above. The video is not as smooth as I would like but you can definitely see the issue at roughly the 16 and 27 second marks.
Video: https://dl.dropboxusercontent.com/u/93908706/free_flow_scrolling.mp4
I think I find the same issue on my samsung mobile too. This problem happens both in the two demos, Artbook and FreeflowPhotoGrid .Though I can't find the reason yet. Hope you guys who are good at this wonderful UI layout ,can fix this problem .Thanks .
Same issue on my Nexus 5 and very rarely scrolling doesn't work at all and misses my touch gesture completely.
I find that,this is scrolling issue will occur when we change the layout for the freeflow .It is initial ok when we first launch the demo .
+1
+1
I will suggest to start looking at the code in the freeflowcontainer.java @jerrellmardis @zhumingu, @mongle
/**
* Computes the Rectangle that defines the ViewPort. The Container tries to
* keep the view at the top left of the old layout visible in the new
* layout.
*
* @see getViewportTop
* @see getViewportLeft
*/
protected void computeViewPort(FreeFlowLayout newLayout) {
@Arpit Mathur can you take a look?
Meet the same issue, any update?