fragmentargs
fragmentargs copied to clipboard
Annotation Processor for setting arguments in android fragments
`@Arg(bundler = ParcelerArgsBundler.class)` has to be used with `bundler-parceler`, doesn't it? Maybe an approach can be taken in which it automatically detects that `@Parcel` is present in the class, as...
for exampe if your Fragment is : ``` @FragmentWithArgs public class Body extends Fragment { @Arg String request; @Arg Integer value; ``` then create in Builder class this: ``` public...
This should close #53
Compile time tests for issues #61 and #62
For example if we have two classes in different packages: ``` @FragmentWithArgs public class ClassInPackageA extends android.app.Fragment { @Arg String argA; } ``` and ``` @FragmentWithArgs public class ClassInPackageB extends...
README.md says: > In your Activity you will use the generated Builder class (the name of your fragment with "Builder" suffix) instead of new MyFragment() or a static **MyFragment.newInstance(int id,...
Don't know why, but deploying snapshots from travis doesn't work, even though environments variables and buildscripts are set up correctly (as for other projects of mine). ``` Return code is:...
Sometimes when there 2 or more required arguments, the order of generated builder constructor parameters differs from the order of it's declaration in fragment. This is specially annoying when Fragment...
save the current value of `@Arg` annotated field in `Fragment.onDestroy()` would be a good idea. Give the possibility to change that in `@Arg` annotation, maybe something like this. ``` java...