Akatsuki
Akatsuki copied to clipboard
Android states and arguments made easy with annotations
1. Create Activity with retained instance variable, annotated with `@Retained` 2. _Do not_ annotate anything with `@Arg` 3. Start the Activity with Intent, that has extras Bundle Result: `Akatsuki.restore` will...
@Retained @Arg is not working as expected. As I understand, argument must be restored into variable only when savedInstanceState is null. Otherwise it will always overwrite retained value. Retained value...
If a fragment _A_ has _@ Retained_ fields and it is extended by a fragment _B_ with both _@ Retained_ and _@ Arg_ fields, the latter's (_B_'s) builder cannot be...
Using `@Arg` alone with a call to `Akatsuki.restore` and a non-null instance state causes Akatsuki to look for the `@Retained`'s retainer class which does not exist.