Skip to content

Instantly share code, notes, and snippets.

@jmrboosties
Created October 23, 2017 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmrboosties/957bafeca530047936faca9451d5a5e5 to your computer and use it in GitHub Desktop.
Save jmrboosties/957bafeca530047936faca9451d5a5e5 to your computer and use it in GitHub Desktop.
protected RoutingInfo(Parcel in) {
mRouteToId = in.readInt();
mTrigger = in.readString();
mDestination = in.readInt();
mBundle = in.readBundle(getClass().getClassLoader());
mUser = in.readParcelable(User.class.getClassLoader());
mBackupCredentials = in.readParcelable(Credentials.class.getClassLoader());
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(mRouteToId);
dest.writeString(mTrigger);
dest.writeInt(mDestination);
dest.writeBundle(mBundle);
dest.writeParcelable(mUser, flags);
dest.writeParcelable(mBackupCredentials, flags);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment