Android LinkedHashMap deserializing as HashMap, causes CCE error
问题 I'm attempting to pass a serialized LinkedHashMap between activities, and getting a confusing result/error when I deserialize the object. I serialize the object as follows: Bundle exDetails = new Bundle(); LinkedHashMap<String, Exercise> exMap = new LinkedHashMap<String, Exercise (workout.getExercises()); exDetails.putString(WORKOUTNAME, workout.getWorkoutName()); exDetails.putSerializable(workout.getWorkoutName(), exMap); iComplete.putExtra("wName", exDetails); startActivity(iComplete); That