How do I make a looping ScrollView?
Like the title says, how do I make a looping scrollview? :)
In other words, when you scroll to the bottom, the scrollview should not stop and continu开发者_JAVA百科e in the same speed from the top seamless! hope someone knows this!
If you can afford to use a listView
instead of a scrollView
, there is a library that can turn it into a circular listView
:
Circular list adapter for Android's ListView. This adapter makes your existing list adapter appear circular and possibly infinite unless you scroll down through two billion list items ;). Works with list adapters that you already have. No project specific dependencies. Just include the latest jar or the sources to your Android project.
Update: Ooh I just noticed you asked this way back in 2011. Guess you have figured it out by now. Anyway, I'll leave this here.
精彩评论