So I have a Calendar obj which implements serializable by default and I want to pass it in a bundle so the value of it is saved on screen rotation.
Should I pass it as a serializable or extract the values and recreate the obj for efficiency?
bundle.putSerializable("key", calendar);
or
bundle.putInt("dayKey", calendar.get(Calendar.DAY_OF_MONTH));
bundle.putInt("monthKey", calendar.get(Calendar.MONTH));
bundle.putInt("yearKey", calendar.get(Calendar.YEAR));