ParcelablePlease
ParcelablePlease copied to clipboard
Support for nullables
If it's a Bool (vs. bool), then first a extra byte of != null should be emitted, and then if it's not null, emit the byte representing the value.
Same goes for a String - emit a byte, and if not null emit the string.
And for any other type...
Thanks :-)
I might be wrong, but null on objects is already handled by the framework. So null for String should work, doesn't it?
Regarding wrappers like Bool , Double, Integer and so on, yes, null support is missing for them.