How to auto scroll when image view is dragged to end in Android -


so have 2 horizontal scrollview , take 1 image 1 scrollview another. want second scroll view autoscroll when dragged image reaches either end of horizontalscrollview. cover art in music applications.

what i've done attached drag listener second scroll view , whenever event.getx() value crosses threshold, call hsv2.smoothscrollby(value, 0). problem scrolls once. want scrolling smooth , continuous.

this demo project 1 of projects. scroller scroll automatically , continously. made show credits screen continously scrolling through list of images. might or give idea.

https://github.com/blessenm/slideshowdemo


Popular posts from this blog