Parcelable object passing from android activity to fragment
问题 I'm trying to pass an object that implements Parcelable from an activity to a fragment. I know how to pass from activity to activity. I just want to try this. But when I received the object it always received null . How can I resolve this problem? currentObject is the object instance of the class which implements Parcelable ContentMainFragment is the Fragment class In the activity Fragment fragment = new ContentMainFragment(); Bundle bundle = new Bundle(); bundle.putParcelable("SampleObject",