Android provides a widget gallery by default. Widget gallery is the basic widget inside android. I also provide a more complicated gallery in my previous post: Android Infinite Loop Gallery. Using this gallery, an android programmer can create a picture gallery, or a album in a 5 minutes. Here, I will give you an example to show how easily to create a gallery in android. And You can also download the example, and source code to try.
Continue reading »
Today, I wanna introduce how to make an android infinite loop gallery. This new gallery actually basing on the android gallery, but not really extends from it. The default android gallery can provide a common gallery function. For the common usage, you can easily get the example code from Android Gallery Example: Widget Gallery. But for some advanced usage, it has lots of limitations, for example, infinite loop. Here, I will tell you why and how to create a gallery which has the infinite loop feature.