Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StatInfo
Project
Project
Details
Activity
Releases
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
chenyuling
StatInfo
Commits
f09ea35f
Commit
f09ea35f
authored
Aug 28, 2023
by
chenyuling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释log
parent
8c32f10e
Pipeline
#1443
failed with stages
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ConfigDlgFragment.java
...om/srthinker/statinfo/uis/fragment/ConfigDlgFragment.java
+2
-4
No files found.
app/src/main/java/com/srthinker/statinfo/uis/fragment/ConfigDlgFragment.java
View file @
f09ea35f
...
@@ -9,7 +9,6 @@ import android.graphics.drawable.ColorDrawable;
...
@@ -9,7 +9,6 @@ import android.graphics.drawable.ColorDrawable;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.text.InputType
;
import
android.text.InputType
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
android.util.Log
;
import
android.view.Gravity
;
import
android.view.Gravity
;
import
android.view.LayoutInflater
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.View
;
...
@@ -25,7 +24,6 @@ import com.srthinker.statinfo.database.entity.ConfigEntity;
...
@@ -25,7 +24,6 @@ import com.srthinker.statinfo.database.entity.ConfigEntity;
import
com.srthinker.statinfo.database.helper.ConfigHelper
;
import
com.srthinker.statinfo.database.helper.ConfigHelper
;
import
com.srthinker.statinfo.databinding.DialogConfigBinding
;
import
com.srthinker.statinfo.databinding.DialogConfigBinding
;
import
com.srthinker.statinfo.listener.ConfigCallback
;
import
com.srthinker.statinfo.listener.ConfigCallback
;
import
com.srthinker.statinfo.util.common.GsonUtil
;
import
com.srthinker.statinfo.util.common.Utils
;
import
com.srthinker.statinfo.util.common.Utils
;
import
com.srthinker.statinfo.wedget.EditView
;
import
com.srthinker.statinfo.wedget.EditView
;
...
@@ -181,8 +179,8 @@ public class ConfigDlgFragment extends DialogFragment {
...
@@ -181,8 +179,8 @@ public class ConfigDlgFragment extends DialogFragment {
}
}
configEntities
.
add
(
config
);
configEntities
.
add
(
config
);
}
}
Log
.
i
(
TAG
,
"updateConfig: mLastConfig="
+
GsonUtil
.
ListToJson
(
mLastConfig
));
/*
Log.i(TAG, "updateConfig: mLastConfig="+ GsonUtil.ListToJson(mLastConfig));
Log
.
i
(
TAG
,
"updateConfig: configEntity="
+
GsonUtil
.
ListToJson
(
configEntities
));
Log.i(TAG, "updateConfig: configEntity="+GsonUtil.ListToJson(configEntities));
*/
if
(
mLastConfig
!=
null
&&!
mLastConfig
.
equals
(
configEntities
)){
if
(
mLastConfig
!=
null
&&!
mLastConfig
.
equals
(
configEntities
)){
/*if (callback != null) {
/*if (callback != null) {
SharedUtil.getInstance(context).writeShared(type,configBeanList);
SharedUtil.getInstance(context).writeShared(type,configBeanList);
...
...
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