Well it could just work like in my example: leafes...
# android
p
Well it could just work like in my example: leafes writeToParcel first call super, then write themselfes. Parent checks for the leaf type, encodes the type and then writes it's own fields.