Back to project page TheGamesDB-Android-app.
The source code is released under:
GNU General Public License
If you think the Android project TheGamesDB-Android-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package dragni.tgb.thegamesdb.entity; //w ww . j a va 2 s .com import java.util.ArrayList; public class ImageList extends ArrayList<Image> { private static final long serialVersionUID = -2268633744094862333L; private int thumbNailIndex; public Image getLastImage() { int lastImageLocation = this.size(); lastImageLocation--; Image image = this.get(lastImageLocation); return image; } public void setThumbNailIndex() { int lastImageIndex = this.size(); lastImageIndex--; thumbNailIndex = lastImageIndex; } public Image getThumbNail() { Image thumbNail = this.get(thumbNailIndex); return thumbNail; } }