parcelable
Parcelable where/when is describeContents() used?
Does anyone know where/when this method of a Parcelable is called? @Override public int describeCon开发者_如何学Ctents() {[详细]
2023-01-23 16:47 分类:问答Parcelable and inheritance in Android
I got an implementation of Parcelable working for a single class that involves no inheritance. I have problems figuring out the best way to implement the interface when it come to inheritance. Let\'s[详细]
2023-01-22 17:50 分类:问答Parcel.readException passing an object to remote service
I wrote a remote service that the clients can log on with the usual mechanisms of IPC provided by Android and the binding seems to work. The problem arises when I go to call a method in which I have t[详细]
2023-01-21 13:01 分类:问答Android: unparceling causes out of memory exception. How to inspect objects?
Here\'s the setup: I have an activity with a list of items (updated from server, represented by a plain java class). The items are rendered via a custom BaseAdapter and custom View for each row.[详细]
2023-01-20 19:27 分类:问答Problem getting same class instance passed from one activity to another
I am trying to pass SampleParcelable class object say sampleObj from my ClassA (current) activity to ClassB (a new one), but when i log the objects value, the object\'s value which i am creating in Cl[详细]
2023-01-20 03:11 分类:问答Efficiency of Parcelable for inproc communication
I want to pass a huge object (e.g. Bitmap) from one activity to another inside one process. If I put it into the Bundle as Parcelable, will Android rea开发者_StackOverflow社区lly serialize the object[详细]
2023-01-19 19:12 分类:问答Does a serializable object always get serialized when put in a bundle?
We were wondering if when using Bundle with serializable or parcelable objects, when does the marshalling actually happen? As soon as you put it in the bundle? Since bundles are mostly used to simply[详细]
2023-01-13 07:42 分类:问答Is it possible to create a HashMap that is Parcelable on Android?
I am trying to extend HashMap as a Parcelable and I got the syntax to compile, however, at runtime it throws an exception and returns a null pointer trying to un-marshal the data.[详细]
2023-01-13 03:37 分类:问答Problem in implementing Parcelable containing other Parcelable
I\'m implementing Parcelable class that has another Parcelable insde. In OuterParcelable class: @Override[详细]
2023-01-11 22:10 分类:问答Question about parcelable object
I want to save a list of Parcelable Restaurant objects on onSaveInstanceState. I created a Restaurant class extending Parcelable and a RestaurantList object, both shown below.[详细]
2023-01-06 06:24 分类:问答