New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create any IntentBuilder to avoid generation of methods #8
Comments
I was thinking about it, but this is an idea for different library. Making two ways to do the same thing is not a good idea. Also, it would make compilation slower and lead to much more generated methods. |
"different library" |
There must be a way to inform developer which elements are optional and which must be provided. To prevent from starting Activity without non-optional arguments. If you do it in the binder then you will have much more code generated then in here. |
can't be this implemented?
Also you can add a value to annotation : |
But how to use this one with mixed args (optional and required)? |
https://github.com/MarcinMoskala/ActivityStarter/wiki/Optional-annotation There are generated function for each variant. Here is example of function and what is generates as a result: |
for example in activity:
sometimes is needed two of this variables, so how to create intent for two values?
you added to 0.50 generation of the methods but you can make this:
The text was updated successfully, but these errors were encountered: