What is the difference between a Bundle and an Intent ?
What is the difference between a Bundle and an Intent ?
The main differences between Bundle and Intent in Android are:
Bundle is a collection of key-value pairs used to store data, while Intent is a messaging object that facilitates communication between components and specifies an action to be performed.
Intent is used to navigate from one Android activity to another, while Bundle can be used to store data related to objects.
Bundle offers more interfaces and is more flexible to use compared to Intent.
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.