Android Open Source - ShowCast Presentation Contents






From Project

Back to project page ShowCast.

License

The source code is released under:

GNU General Public License

If you think the Android project ShowCast 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 prezcast.sgu.fr.showcast.presentation;
/*from w w  w. j av a 2s. c o m*/
import android.os.Parcel;
import android.os.Parcelable;

/**
 * Presentation contents.
 */
public class PresentationContents implements Parcelable{

    public String prez;
    public int index;

    public static final Creator<PresentationContents> CREATOR =
            new Creator<PresentationContents>() {
                @Override
                public PresentationContents createFromParcel(Parcel in) {
                    return new PresentationContents(in);
                }

                @Override
                public PresentationContents[] newArray(int size) {
                    return new PresentationContents[size];
                }
            };

    public PresentationContents(String prez,int index) {
        this.index = index;
        this.prez = prez;
    }

    private PresentationContents(Parcel in) {
        index = in.readInt();
        prez = in.readString();
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(index);
        dest.writeString(prez);
    }
}




Java Source Code List

prezcast.sgu.fr.showcast.ApplicationTest.java
prezcast.sgu.fr.showcast.activity.MainActivity.java
prezcast.sgu.fr.showcast.activity.PresentationActivity.java
prezcast.sgu.fr.showcast.activity.SettingsActivity.java
prezcast.sgu.fr.showcast.async.SettingsAsync.java
prezcast.sgu.fr.showcast.db.DBHelper.java
prezcast.sgu.fr.showcast.db.DbException.java
prezcast.sgu.fr.showcast.db.setting.EnumSettingsType.java
prezcast.sgu.fr.showcast.db.setting.EnumSettingsZone.java
prezcast.sgu.fr.showcast.db.setting.Setting.java
prezcast.sgu.fr.showcast.db.setting.SettingsTable.java
prezcast.sgu.fr.showcast.presentation.PresentationContents.java
prezcast.sgu.fr.showcast.presentation.TvPresentation.java
prezcast.sgu.fr.showcast.roboguice.RoboActionBarActivity.java
prezcast.sgu.fr.showcast.view.SeparatedListAdapter.java
prezcast.sgu.fr.showcast.view.SettingDialog.java