Skip to content

Commit

Permalink
Fix : compatible compiler sdk 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Mar 16, 2017
1 parent b8fc9c7 commit e495ef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ private static void setValue(Postcard postcard, Integer typeDef, String key, Str
// TODO : How to description parcelable value with string?
} else if (typeDef == TypeKind.OBJECT.ordinal()) {
postcard.withString(key, value);
} else { // Compatible compiler sdk 1.0.3, in that version, the string type = 18
postcard.withString(key, value);
}
} else {
postcard.withString(key, value);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MIN_SDK_VERSION=12
TARGET_SDK_VERSION=25

arouter_compiler_version=1.0.4
arouter_api_version=1.0.8
arouter_api_version=1.0.9
arouter_annotation_version=1.0.3

bintrayRepo=maven
Expand Down

0 comments on commit e495ef8

Please sign in to comment.