Model Solutions to inclass Quiz 1

Model Solutions Quiz 1 Question 3

by Rollin Tschirgi -
Number of replies: 0

Chell, Kat, Rollin, Tony

3. What is the significance/utility of the Bundle class with respect to the Activity lifecycle?

The Bundle class assigns strings to various data values and wraps them up in a single object. This makes it easy to save/retrieve data when an an Activity is created/paused/destroyed. It also helps when transferring data via intent extras because you only have to attach one extra to the intent. 

Sources:

BigNerdRanch TextBook
thenweboston Channel, youtube.com