Bundle pass image
I found LeafPic passed image by bundle directly : public static ImageFragment newInstance(Media media) { ImageFragment imageFragment = new ImageFragment(); Bundle args = new Bundle(); args.putParcelable("image", media); imageFragment.setArguments(args); return imageFragment; } but it 's not safe to do like that ,if the images are large,it would lead to crash .