Hi,

I would really appreciate any insights regarding the following. Any
pointers/hints/thoughts on this   would be very helpful. I have wasted
quite a bit of time on this.

I have a custom view that needs to scroll internally. Currently the
way I do it is to re-draw the View when I detect fling/scroll
gestures. It works but is extremely jerky when the scroll amount is
large.
I am trying to make the custom view scroll smoothly similar to the way
ListView does.

I've looked at the 'Scroller' class but couldn't figure out how to
make it work with a View.

The only solution I've figured out so far is to start a 'Timer'/Thread
on large Scrolls and manually post invalidates.  This is obviously
undesirable from a performance perspective since every fling/large
scroll creates a Timer/Thread.

I do not want to use ScrollView. The custom view is laid out within a
RelativeLayout.

Thanks,

--MB.

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