Finally I found a way to synchronize the scrolls. I was using a gesture listener to listen for scrolls/flings which did not give me accurate results. Now I simply pass the onTouch events from one view to the other view. This makes both the views to scroll perfectly in sync.
On Mar 18, 5:26 pm, Ajay <[email protected]> wrote: > Hi, > I am having two horizontal scroll views in my app. If I do a scroll/ > fling in one view, I have to scroll/fling the other view. It does > work, but it has a minor mismatch sometimes in the amount of scroll. I > suspect this might be because theonFlinglistener callback has a > float velocity, whereas the call method fling() takes an integer > parameter. Any idea why is this mismatch? > > Thank you, > AJ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

