https://kotlinlang.org logo
Title
s

Saket Poddar

06/19/2020, 11:52 AM
Can anyone tell me why bundles are serialisable ?
:stackoverflow: 2
a

ahulyk

06/19/2020, 1:07 PM
Bundle is Parcelable
The IPC communication in the Android framework is based upon the concept of 
Binder
. Main mechanism to allow data marshalling between those processes is based on 
Parcel
r

Roger Home-Martinsen

06/19/2020, 6:22 PM
Parcel is the protocol "someone" decided on for prosesses to talk together in Android. But you are asking "why", have you googled it? It is better that you ask a more specific question if something is unclear. https://stackoverflow.com/help/how-to-ask
s

Saket Poddar

06/25/2020, 11:38 AM
@ahulyk I understand they are parcelables that's why they are serialised but do you any insight why they are made like that. Because while communicating with two activities why we need Bundles as serialised ?
@Roger Home-Martinsen Thanks for suggestion, yeah I tried google didn't find any promising answer which I am looking for.
a

ahulyk

06/25/2020, 11:40 AM
@Saket Poddar please google more on this -> The IPC communication in the Android framework is based upon the concept of 
Binder
. Main mechanism to allow data marshalling between those processes is based on 
Parcel