Discover more from MB_Coder Newsletter
What is the difference between Bundle and Intent in Android?
Bundle vs Intent
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.