Meghan GillAug 17, 20212 minBundles: Passing Info to a FragmentWhat is a Bundle? A bundle is a way to store key/value pairs. Decide what type of data your are sending in the bundle. Some examples of...
Meghan GillAug 6, 20212 minActivity Lifecycle in AndroidIn Android, activities are managed using an activity stack. When a new activity is started, it’s placed on top of the stack and becomes...
Meghan GillAug 4, 20212 minSaving and Retrieving Instance State in Android ActivitiesSaving Instance State In an activity or fragment we can use a bundle to store the state of our activity. The method onSaveInstanceState()...