What is the difference between Bundle Vs java.util collections like HashMap?
Copied from https://stackoverflow.com/a/6236801/2722270
One difference I can see easily is that a Bundle allows you to put int, boolean, etc., into it while a HashMap seems to require you to convert them to/from objects.
A more important difference is that with a Bundle, every object it contains is parcelable(bundle 传输的数据都是序列化的). This allows Bundles to be used as service parameters and to be attached to intents / passed into activities.