Back to project page jive-android-core-sdk-example.
The source code is released under:
Apache License
If you think the Android project jive-android-core-sdk-example 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 com.jivesoftware.example.github.dao; /*w w w . j a va 2s . co m*/ import android.os.Parcel; import android.os.Parcelable; /** * Created by mark.schisler on 9/22/14. */ public class Owner implements Parcelable { public int id; public String type; @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(id); dest.writeString(type); } public static final Parcelable.Creator<Owner> CREATOR = new Parcelable.Creator<Owner>() { @Override public Owner createFromParcel(Parcel source) { Owner owner = new Owner(); owner.id = source.readInt(); owner.type = source.readString(); return owner; } @Override public Owner[] newArray(int size) { return new Owner[size]; } }; }