when you scroll with the help of fling
compare the speed with which you want to scroll
like if velocity >(some value dont scroll
if velocity is< some value scroll

On May 9, 9:03 pm, Omar Adobati <[email protected]> wrote:
> Hi Everyone,
>
> I would like to knoe if I can limit the speed of the fling gestures in my
> ListActivity and if it is possible to stop the "scrolling" of the same list
> when I touch it.
>
> My current situation is the following: If I perform a vertical scroll that
> trigers the Fling state, sometimes (often actually) my List View scrolls
> full speed to the bottom (or to the top) and dose't stop till it reaches the
> final position. This is not really user friendly... is there a way to limit
> it?
>
> I have already tried with setFastScrollEnabled(false); but it seems to don't
> work.
>
> Thanks to everyone who would like to help.

-- 
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

Reply via email to