# Bundling Data for Android Components with Bundle

DevFeed: [Bundling Data for Android Components with Bundle](<https://devfeed.tech/articles/bundling-things-nice-and-pretty-26169.md>)

Original publisher: [Read original article](<https://zarah.dev/2023/08/21/bundle-parcel.html>)

Author: Zarah Dominguez

Published: 2023-08-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Zarah Dominguez](<https://devfeed.tech/sources/zarah-dominguez.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Code](<https://devfeed.tech/topics/code.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [data-class](<https://devfeed.tech/tags/data-class.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [parcelize](<https://devfeed.tech/tags/parcelize.md>)

## AI overview

This Android development tutorial explains how to pass multiple values between components using Bundle. It compares passing values individually with grouping them in data classes and discusses using generated implementation to reduce required boilerplate.

## Source excerpt

Of all the projects that I have worked on over the years, one thing they all have in common is the need to pass things around. Whether passing stuff to an Activity as Intent extras, a Fragment as arguments or its onSaveInstanceState, or even a ViewModel's SavedStateHandle, the most common way to do it is through a Bundle.