MB_Coder Newsletter

Share this post

What is the difference between Bundle and Intent in Android?

martinbaraya.substack.com

What is the difference between Bundle and Intent in Android?

Bundle vs Intent

Martin Baraya
Nov 2, 2021
Share this post

What is the difference between Bundle and Intent in Android?

martinbaraya.substack.com

Bundle in Android

  • Bundle is a collection of key-value pairs.

  • Bundle can be implemented with relation to objects.

  • Bundle offers more interfaces and it's more flexible to use.

  • Bundle used to store data.

Intent in Android

  • Intent has information of the operation that should be implemented.

  • Intent facilitate communication between components.

  • Intent is used to navigate from one android activity to another.

  • Intent aims to transfer value.

Share this post

What is the difference between Bundle and Intent in Android?

martinbaraya.substack.com
Comments
TopNew

No posts

Ready for more?

© 2023 Martin Baraya
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing