Have a look at ViewFlipper and GestureDetector.

http://developer.android.com/reference/android/widget/ViewFlipper.html
http://developer.android.com/reference/android/view/GestureDetector.html

If you have a lot of images, a useful trick for minimizing your memory
footprint is to keep three ImageViews in the ViewFlipper with the
middle one visible. On a swipe, you'll remove an ImageView and add a
new ImageView such that there are never more than three ImageViews in
the flipper: the current visible ImageView, and the two adjacent
ImageViews.

Best of luck to you.

Brian Cooley

On Oct 27, 1:05 am, BlueDares <[email protected]> wrote:
> HI All,
>
> I'm want to implement Dynamic SlideShow of Images similar to Gallery.
> On Drag, i Should be able to change to next images. I'm looking into
> Gallary1.java class from APIDemo Example, i think there is no
> sufficient information in that, so is there any better code example
> which could help me..!

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