On 2.2, I've been playing with onFling to move a custom
horizontal-based view (basically a visually infinitely looped
marquee-type thing that is based on displaying the appropriate part of
a bitmap).  I've been using HorizontalScrollView as a reference, and
the default implementation of android.widget.Scroller.   What I am
having trouble with is the transition between a scroll and when the
user does the fling.  Sometimes it's ok, but sometimes there's too
much scroll between the first and second scrolls of the fling - the
first scroll of the fling is too small, relative to the general
pattern of non-fling scrolls that proceeded it, and to the subsequent
scrolls of the fling.  This sometimes results in a small "jump" on the
first scroll of the fling that I want to avoid.   Now, it's not as
simple as the last scroll is what to use for the first fling, because
sometimes there may be one or two small scrolls that occur right
before the fling is "noticed".

I could be doing something wrong in putzing with this, so my basic
question is should this be a problem that has to be handled in a
tedious way - carefully analyzing the most recent scrolls leading up
to the fling or whatever - or should it work without having to mess
with any of that?


thx

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