I want to share object from one activity to another activity. I know of 2 good ways:
- Using bundle: By making object's class implement Parcelable, can pass object in bundle via intent.
- Using singleton pattern: saving the object instance in this class and then fetch it where ever required.
Which of the above mentioned is better or recommended way? Kindly also tell if there is some other better way.