Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sobot_android
Sobot_module_Dev
Commits
5b523bc3
Commit
5b523bc3
authored
May 16, 2022
by
郑娜伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utils 1.1.1
parent
d64ad425
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sobot-utils-publish-mavencentral.gradle
sobot_utils/sobot-utils-publish-mavencentral.gradle
+1
-1
SobotSharedPreferencesUtil.java
...main/java/com/sobot/utils/SobotSharedPreferencesUtil.java
+2
-0
No files found.
sobot_utils/sobot-utils-publish-mavencentral.gradle
View file @
5b523bc3
...
...
@@ -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
'
//版本号
}
...
...
sobot_utils/src/main/java/com/sobot/utils/SobotSharedPreferencesUtil.java
View file @
5b523bc3
...
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment