Nor did I until a week ago! Turns out hitting CMD+J (iirc) lets you browse the templates in context, it's worth having a dig around for half an hour and seeing what's useful to you.
There is a lib called Henson that generates intent builders for activities from fields you have annotated. These fields can be automatically injected on the activity instance as well (works similarly to ButterKnife). You can make fields optional or required. It's pretty nice.
This works fine when you can make assumptions about the arguments/extras that you need the intent to have, but gets a little tricky to abstract away otherwise.
32
u/Plastix Nov 26 '16 edited Nov 26 '16
Static factory methods are really good for creating intents as well:
Great writeup! Thanks for sharing.