Open GoogleCodeExporter opened 8 years ago
Will look into it, thanks.
Original comment by roman.nurik
on 29 Jan 2014 at 6:26
To answer the question, I don't think this is fixable since parcelables aren't
serializable and serialization of extension data is critical to how DashClock
works. I'll update this in the docs.
Original comment by roman.nurik
on 30 Jan 2014 at 9:29
Would it be possible to allow serializable extras in that case? It seems like
it would be a common use case to pre-load data in the service, and pass it to
an activity via intent. Right now it seems you have to save it to external
storage or a database.
Original comment by jacob.ta...@gmail.com
on 30 Jan 2014 at 9:31
Serializables carry a lot of overhead. Just look at the source for Parcel:
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/co
re/java/android/os/Parcel.java (line 1294)
/**
* Write a generic serializable object in to a Parcel. It is strongly
* recommended that this method be avoided, since the serialization
* overhead is extremely large, and this approach will be much slower than
* using the other approaches to writing data in to a Parcel.
*/
Original comment by roman.nurik
on 4 Feb 2014 at 5:51
Original issue reported on code.google.com by
jacob.ta...@gmail.com
on 29 Jan 2014 at 2:35