Android Open Source - TheGamesDB-Android-app Image List






From Project

Back to project page TheGamesDB-Android-app.

License

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.

Java Source Code

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




Java Source Code List

dragni.tgb.thegamesdb.entity.GameList.java
dragni.tgb.thegamesdb.entity.Game.java
dragni.tgb.thegamesdb.entity.ImageList.java
dragni.tgb.thegamesdb.entity.Image.java
dragni.tgb.thegamesdb.logic.GameSearcher.java
dragni.tgb.thegamesdb.util.GameListSorter.java
dragni.tgb.thegamesdb.util.SearchType.java
dragni.tgb.thegamesdb.util.UrlMaker.java
dragni.tgb.thegamesdb.views.FragmentGameImages.java
dragni.tgb.thegamesdb.views.FragmentGameInformation.java
dragni.tgb.thegamesdb.views.FragmentGameVideos.java
dragni.tgb.thegamesdb.views.GameListActivity.java
dragni.tgb.thegamesdb.views.GameOverviewActivity.java
dragni.tgb.thegamesdb.views.ImageAdapter.java
dragni.tgb.thegamesdb.views.ImageZoomActivity.java
dragni.tgb.thegamesdb.views.ListAdapter.java
dragni.tgb.thegamesdb.views.SearchActivity.java
dragni.tgb.thegamesdb.views.ViewPagerAdapter.java