Write @State and @Extra to Parcel instead of Bundle
Closed this issue · 1 comments
jankovd commented
Increases complexity but:
- it would be more performant.
- it would support every imaginable object type.
- would allow for two new annotations for types to be introduced:
@StateFields
and@ExtraFields
which would allow the user to specify the fields as key/type mapping in the annotation instead of defining them as instance fields. - the user could read
@State
and@Extra
annotated properties by directly accessing the fields in the generated class.
Low priority.
jankovd commented
Archiving project.