Commit 5b523bc3 by 郑娜伟

utils 1.1.1

parent d64ad425
......@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'utils' //项目名
PUBLISH_VERSION = '1.1.0' //版本号
PUBLISH_VERSION = '1.1.1' //版本号
}
......
......@@ -236,6 +236,7 @@ public class SobotSharedPreferencesUtil {
SharedPreferences.Editor edit = preferences.edit();
if (edit != null) {
edit.remove(key);
edit.commit();
}
}
......@@ -246,6 +247,7 @@ public class SobotSharedPreferencesUtil {
SharedPreferences.Editor edit = preferences.edit();
if (edit != null) {
edit.clear();
edit.commit();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment