You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Add a setType method to org.androidannotations.api.builder.IntentBuilder class #1694
When using IntentBuilder to start another activity I'm adding some extras to the intent itself by I'm lacking the ability to add a type to it.
The reason of this is that on my receiving activity I have a mimetype based filter.
Activity
WonderCsabo commentedon Feb 9, 2016
Well, you can get the built
Intentobject from the builder, and manipulate it directly:Obviously, we cannot replicate every method of
IntentinIntentBuilder.federicoiosue commentedon Feb 10, 2016
I'm getting your point.
I was thinking about that because I really like the IntentBuilder elegance and I'd really prefer to write
instead the the bloated regular version
WonderCsabo commentedon Feb 16, 2016
OK, it does not hurt to adding
type(),category()anddata()methods toIntentBuilder. Wanna contribute?federicoiosue commentedon Feb 17, 2016
Here you have my pull request