Skip to content

Commit 9b67a86

Browse files
committed
Added type method to IntentBuilder class
1 parent 9249693 commit 9b67a86

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/api/builder

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/api/builder/IntentBuilder.java‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ public I action(String action) {
5656
return (I) this;
5757
}
5858

59+
public I type(String type) {
60+
intent.setType(type);
61+
return (I) this;
62+
}
63+
5964
public I extra(String name, boolean value) {
6065
intent.putExtra(name, value);
6166
return (I) this;

0 commit comments

Comments
 (0)