You can think of bundles as persistable dictionaries.
The primary use of a bundle is to save the state of an activity in onSaveInstanceState(Bundle) so you can restore the activity again in onCreate(Bundle).
The secondary use of a bundle (when put inside a message) is in asynchronous and/or inter-process communication.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.