Android Open Source - nextep Show






From Project

Back to project page nextep.

License

The source code is released under:

Copyright (c) 2013 Jason Costabile jasoncostabile.com The above copyright notice shall be included in all copies or substantial portions of the Software.

If you think the Android project nextep 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 com.jasoncostabile.nextep;
//from   w  ww .j  av  a2 s.  c  om
public class Show {
  public int ID;        //used to find this show in the local DB
  public byte[] icon;
    public String title;
    public int nextEpSeason;
    public int nextEpisode;
    public long nextAirdate;  //milliseconds since Jan 1, 1970
    public int sortKey;
    
    public Show(){
        super();
    }
    
    public Show(String title, byte[] icon) {
        super();
        
        this.ID = -1;  //-1 indicates that the show was not retrieved from the local database
        
        this.icon = icon;
        this.title = title;

        this.nextEpSeason = 1;
        this.nextEpisode = 1;
        this.nextAirdate = 0;
    }
    
    @Override
    public String toString() {
      return title;
    }
}




Java Source Code List

com.jasoncostabile.nextep.DatabaseHelper.java
com.jasoncostabile.nextep.MainActivity.java
com.jasoncostabile.nextep.ShowListAdapter.java
com.jasoncostabile.nextep.Show.java