Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
SuperEasyClean
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songjianyu
SuperEasyClean
Commits
726af9d9
Commit
726af9d9
authored
Jun 12, 2025
by
songjianyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[修复] 脚本混淆有问题的变量名
parent
add4f08c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
BatteryHeadAdapter.kt
.../java/com/easy/clean/ui/batteryinfo/BatteryHeadAdapter.kt
+3
-3
BatteryInfoAdapter.kt
.../java/com/easy/clean/ui/batteryinfo/BatteryInfoAdapter.kt
+3
-3
LargeFileCleanActivity.kt
...ava/com/easy/clean/ui/largefile/LargeFileCleanActivity.kt
+2
-2
SimilarPhotosActivity.kt
...n/java/com/easy/clean/ui/similar/SimilarPhotosActivity.kt
+2
-2
MyAnimationUtils.kt
app/src/main/java/com/easy/clean/utils/MyAnimationUtils.kt
+2
-2
No files found.
app/src/main/java/com/easy/clean/ui/batteryinfo/BatteryHeadAdapter.kt
View file @
726af9d9
...
...
@@ -51,15 +51,15 @@ class BatteryHeadAdapter : BaseQuickAdapter<BatteryHead, CommonViewHolder>() {
return
CommonViewHolder
(
R
.
layout
.
item_battery_head
.
inflate
(
parent
))
}
fun
setText
(
v
:
TextView
,
time
:
Int
)
{
fun
setText
(
item
:
TextView
,
time
:
Int
)
{
var
h
=
time
/
60
var
m
=
time
%
60
val
strH
=
if
(
h
<
10
)
"0$h"
else
h
.
toString
()
val
strM
=
if
(
m
<
10
)
"0$m"
else
m
.
toString
()
val
text1
=
"$strH h "
val
text2
=
"$strM m"
v
.
text
=
buildSpannableString
(
text1
,
strH
)
v
.
append
(
buildSpannableString
(
text2
,
strM
))
item
.
text
=
buildSpannableString
(
text1
,
strH
)
item
.
append
(
buildSpannableString
(
text2
,
strM
))
}
fun
buildSpannableString
(
fullString
:
String
,
tagString
:
String
):
SpannableString
{
...
...
app/src/main/java/com/easy/clean/ui/batteryinfo/BatteryInfoAdapter.kt
View file @
726af9d9
...
...
@@ -28,9 +28,9 @@ class BatteryInfoAdapter : BaseQuickAdapter<List<BatteryInfoBean>, CommonViewHol
item
?:
return
if
(!
initSub
)
{
initSub
=
true
val
r
v
=
holder
.
itemView
.
findViewById
<
RecyclerView
>(
R
.
id
.
rv
)
r
v
.
layoutManager
=
GridLayoutManager
(
holder
.
itemView
.
context
,
2
)
r
v
.
adapter
=
subAdapter
val
r
ecyclerView
=
holder
.
itemView
.
findViewById
<
RecyclerView
>(
R
.
id
.
rv
)
r
ecyclerView
.
layoutManager
=
GridLayoutManager
(
holder
.
itemView
.
context
,
2
)
r
ecyclerView
.
adapter
=
subAdapter
}
subAdapter
.
submitList
(
item
)
}
...
...
app/src/main/java/com/easy/clean/ui/largefile/LargeFileCleanActivity.kt
View file @
726af9d9
...
...
@@ -184,8 +184,8 @@ class LargeFileCleanActivity : BaseActivity<ActivityLargeFileCleanBinding>(Activ
clearTab
()
}
fun
setTextSize
(
view
:
TextView
,
content
:
String
,
total
:
Long
)
{
view
.
text
=
if
(
total
>
0
)
"$content (${Utils.getSizeFormat(total)})"
else
content
fun
setTextSize
(
item
:
TextView
,
content
:
String
,
total
:
Long
)
{
item
.
text
=
if
(
total
>
0
)
"$content (${Utils.getSizeFormat(total)})"
else
content
}
@SuppressLint
(
"NotifyDataSetChanged"
)
...
...
app/src/main/java/com/easy/clean/ui/similar/SimilarPhotosActivity.kt
View file @
726af9d9
...
...
@@ -163,8 +163,8 @@ class SimilarPhotosActivity : BaseActivity<ActivitySimilarPhotosBinding>(Activit
setTextSize
(
binding
.
tvDelete
,
getString
(
R
.
string
.
delete
),
total
)
}
fun
setTextSize
(
view
:
TextView
,
content
:
String
,
total
:
Long
)
{
view
.
text
=
if
(
total
>
0
)
"$content (${Utils.getSizeFormat(total)})"
else
content
fun
setTextSize
(
item
:
TextView
,
content
:
String
,
total
:
Long
)
{
item
.
text
=
if
(
total
>
0
)
"$content (${Utils.getSizeFormat(total)})"
else
content
}
...
...
app/src/main/java/com/easy/clean/utils/MyAnimationUtils.kt
View file @
726af9d9
...
...
@@ -8,7 +8,7 @@ import android.widget.ProgressBar
object
MyAnimationUtils
{
fun
rotation
(
view
:
View
,
durationTime
:
Long
=
2000
)
{
fun
rotation
(
item
:
View
,
durationTime
:
Long
=
2000
)
{
ValueAnimator
.
ofFloat
(
0f
,
360f
).
apply
{
duration
=
durationTime
interpolator
=
LinearInterpolator
()
...
...
@@ -16,7 +16,7 @@ object MyAnimationUtils {
repeatMode
=
ValueAnimator
.
RESTART
addUpdateListener
{
animation
->
val
animatedValue
=
animation
.
animatedValue
as
Float
view
.
rotation
=
animatedValue
item
.
rotation
=
animatedValue
}
}.
start
()
}
...
...
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