Skip to content

Commit

Permalink
see 05/26 log
Browse files Browse the repository at this point in the history
  • Loading branch information
Blankj committed May 26, 2017
1 parent 7ea61be commit 8e10a8d
Show file tree
Hide file tree
Showing 16 changed files with 698 additions and 381 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
.DS_Store
/build
/captures
.externalNativeBuild
/sign
.externalNativeBuild
43 changes: 26 additions & 17 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,19 @@ hideNotificationBar : 隐藏通知栏

* ### 缓存相关→[CacheUtils.java][cache.java][Test][cache.test]
```
getInstance : 获取缓存实例
put : 缓存中写入数据
getString : 缓存中读取String
getJSONObject: 缓存中读取JSONObject
getInstance : 获取缓存实例
put : 缓存中写入数据
getBytes : 缓存中读取字节数组
getString : 缓存中读取String
getJSONObject : 缓存中读取JSONObject
getJSONArray : 缓存中读取JSONArray
getBitmap : 缓存中读取bitmap
getDrawable : 缓存中读取drawable
getParcelable : 缓存中读取Parcelable
getOSerializable: 缓存中读取Serializable
getCacheFile : 获取缓存文件
remove : 移除某个key
clear : 清除所有缓存
```

* ### 清除相关→[CleanUtils.java][clean.java][Demo][clean.demo]
Expand Down Expand Up @@ -518,17 +527,17 @@ Builder.create : 创建样式字符串

* ### SP相关→[SPUtils.java][sp.java][Test][sp.test]
```
SPUtils : SPUtils构造函数
put : SP中写入数据
getString : SP中读取String
getInt : SP中读取int
getLong : SP中读取long
getFloat : SP中读取float
getBoolean: SP中读取boolean
getAll : SP中获取所有键值对
remove : SP中移除该key
contains : SP中是否存在该key
clear : SP中清除所有数据
getInstance: 获取SP实例
put : SP中写入数据
getString : SP中读取String
getInt : SP中读取int
getLong : SP中读取long
getFloat : SP中读取float
getBoolean : SP中读取boolean
getAll : SP中获取所有键值对
remove : SP中移除该key
contains : SP中是否存在该key
clear : SP中清除所有数据
```

* ### 字符串相关→[StringUtils.java][string.java][Test][string.test]
Expand Down Expand Up @@ -638,7 +647,7 @@ getEntries : 获取压缩文件中的文件对象

Gradle:
``` groovy
compile 'com.blankj:utilcode:1.5.1'
compile 'com.blankj:utilcode:1.6.0'
```


Expand All @@ -660,7 +669,7 @@ Utils.init(context);



[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.5.1-brightgreen.svg
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.6.0-brightgreen.svg
[auc]: https://github.com/Blankj/AndroidUtilCode

[apisvg]: https://img.shields.io/badge/API-15+-brightgreen.svg
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,17 @@ hideNotificationBar
```
getInstance
put
getBytes
getString
getJSONObject
getJSONArray
getBitmap
getDrawable
getParcelable
getOSerializable
getCacheFile
remove
clear
```

* ### About Clean→[CleanUtils.java][clean.java][Demo][clean.demo]
Expand Down Expand Up @@ -518,7 +527,7 @@ Builder.create

* ### About SP→[SPUtils.java][sp.java][Test][sp.test]
```
SPUtils
getInstance
put
getString
getInt
Expand Down Expand Up @@ -638,7 +647,7 @@ getEntries

Gradle:
``` groovy
compile 'com.blankj:utilcode:1.5.1'
compile 'com.blankj:utilcode:1.6.0'
```


Expand All @@ -660,7 +669,7 @@ Utils.init(context);



[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.5.1-brightgreen.svg
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.6.0-brightgreen.svg
[auc]: https://github.com/Blankj/AndroidUtilCode

[apisvg]: https://img.shields.io/badge/API-15+-brightgreen.svg
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.blankj.androidutilcode"
minSdkVersion 15
targetSdkVersion 16
versionCode 31
versionName "1.5.1"
versionCode 32
versionName "1.6.0"
}

if (signPropertiesFile.exists()) {
Expand Down
Binary file added sign/keystore.jks
Binary file not shown.
4 changes: 4 additions & 0 deletions sign/keystore.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
keystore=sign/keystore.jks
storePassword=utilcode
keyAlias=utilcode
keyPassword=utilcode
3 changes: 2 additions & 1 deletion update_log.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* 17/05/23 完善FileIOUtils和CacheUtils
* 17/05/26 完善CacheUtil,发布1.6.0
* 17/05/25 完善FileIOUtils和CacheUtils
* 17/05/23 新增读取文件到字符数组中两种方式
* 17/05/19 LogUtils新增文件过滤和控制台开关
* 17/05/16 ActivityUtils新增动画
Expand Down
4 changes: 2 additions & 2 deletions utilcode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {

defaultConfig {
minSdkVersion 15
versionCode 31
versionName "1.5.1"
versionCode 32
versionName "1.6.0"
}

buildTypes {
Expand Down
Loading

0 comments on commit 8e10a8d

Please sign in to comment.