On Mon, Mar 14, 2011 at 7:06 AM, James Liu <[email protected]> wrote:

> And what I want to implement is loop to the first image after the gallery
> reach to the end.


Idea: have the getSize() method or your adapter return something ludicrously
high, set the start of the Gallery to something in the middle of that high
value, then use mod operations to get the actual item in the list when the
user scrolls left or right through the large values and hope they never get
so bored they scroll through to the actual beginning or end.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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