Here is my model class:
public enum Action { RETRY, SETTINGS } private int imageId; private String description; private String actionName; private Action ac
Any enum is serializable.
enum
You can do this in writeToParcel(): dest.writeSerializable(action)
writeToParcel()
dest.writeSerializable(action)
And in the constructor: action = (Action) in.readSerializable()
action = (Action) in.readSerializable()