Serialisation:
Bundle activityArguments = new Bundle();
Stack> wizardSteps = new Stack
I hope am not talking any nonsense!
Stack does not implement Serializable but rather just extends the Serializable Vector
which is equivalent to ArrayList
I am unaware of the real definition of equivalent
and how loose could that be, but it is sufficient to say that the first super class of Stack that is Serializable is Vector.
Since we see this exception, then I would probably assume that casting the Serializable to ArrayList should not throw this exception. Otherwise, I am talking nonsense.