Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
Easy File Manager Junk
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
wanglei
Easy File Manager Junk
Commits
7fd6a633
Commit
7fd6a633
authored
Jun 21, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步代码
parent
3e31f346
Pipeline
#1181
canceled with stages
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
58 additions
and
24 deletions
+58
-24
FileCategoryActivity.kt
...com/base/easyfilemanager/activity/FileCategoryActivity.kt
+2
-0
FileManagerActivity.kt
.../com/base/easyfilemanager/activity/FileManagerActivity.kt
+2
-0
ScreenShotActivity.kt
...a/com/base/easyfilemanager/activity/ScreenShotActivity.kt
+7
-5
ScreenShotAdapter.kt
...ava/com/base/easyfilemanager/adapter/ScreenShotAdapter.kt
+3
-3
NotificationHelper.kt
...va/com/base/easyfilemanager/display/NotificationHelper.kt
+3
-1
NotificationCleanActivity.kt
...ilemanager/notificationclean/NotificationCleanActivity.kt
+2
-2
activity_file_category.xml
app/src/main/res/layout/activity_file_category.xml
+6
-2
activity_file_manager.xml
app/src/main/res/layout/activity_file_manager.xml
+7
-2
activity_layout_tion_clean.xml
app/src/main/res/layout/activity_layout_tion_clean.xml
+13
-1
activity_recent_app.xml
app/src/main/res/layout/activity_recent_app.xml
+6
-6
activity_screen_shot.xml
app/src/main/res/layout/activity_screen_shot.xml
+7
-2
No files found.
app/src/main/java/com/base/easyfilemanager/activity/FileCategoryActivity.kt
View file @
7fd6a633
...
@@ -72,6 +72,8 @@ class FileCategoryActivity : BaseActivity<ActivityFileCategoryBinding>() {
...
@@ -72,6 +72,8 @@ class FileCategoryActivity : BaseActivity<ActivityFileCategoryBinding>() {
}
}
}
}
}.
show
()
}.
show
()
AdmobUtils
.
showNativeAd
(
this
,
binding
.
flAd
)
}
}
private
fun
initStatusBar
()
{
private
fun
initStatusBar
()
{
...
...
app/src/main/java/com/base/easyfilemanager/activity/FileManagerActivity.kt
View file @
7fd6a633
...
@@ -54,6 +54,8 @@ class FileManagerActivity : BaseActivity<ActivityFileManagerBinding>() {
...
@@ -54,6 +54,8 @@ class FileManagerActivity : BaseActivity<ActivityFileManagerBinding>() {
AdPreparationPop
(
this
)
{
AdPreparationPop
(
this
)
{
AdmobUtils
.
showInterstitialAd
(
this
)
{}
AdmobUtils
.
showInterstitialAd
(
this
)
{}
}.
show
()
}.
show
()
AdmobUtils
.
showNativeAd
(
null
,
binding
.
flAd
)
}
}
private
fun
initStatusBar
()
{
private
fun
initStatusBar
()
{
...
...
app/src/main/java/com/base/easyfilemanager/activity/ScreenShotActivity.kt
View file @
7fd6a633
...
@@ -43,6 +43,7 @@ class ScreenShotActivity : BaseActivity<ActivityScreenShotBinding>() {
...
@@ -43,6 +43,7 @@ class ScreenShotActivity : BaseActivity<ActivityScreenShotBinding>() {
binding
.
rv
.
adapter
=
screenShotAdapter
binding
.
rv
.
adapter
=
screenShotAdapter
playLottie
()
playLottie
()
AdmobUtils
.
showNativeAd
(
this
,
binding
.
flAd
)
}
}
private
fun
playLottie
()
{
private
fun
playLottie
()
{
...
@@ -59,12 +60,13 @@ class ScreenShotActivity : BaseActivity<ActivityScreenShotBinding>() {
...
@@ -59,12 +60,13 @@ class ScreenShotActivity : BaseActivity<ActivityScreenShotBinding>() {
if
(
checkStorePermission
())
{
if
(
checkStorePermission
())
{
initData
()
initData
()
}
else
{
}
else
{
dialog
=
showGerPermission
(
null
,
deny
=
{
},
dialog
=
showGerPermission
(
null
,
deny
=
{
allow
=
{
onBackPressedDispatcher
.
onBackPressed
()
requestStorePermission
(
launcher
,
result
=
{
flag
->
},
allow
=
{
if
(
flag
)
initData
()
else
finishToMain
()
requestStorePermission
(
launcher
,
result
=
{
flag
->
}
)
if
(
flag
)
initData
()
else
finishToMain
(
)
})
})
})
}
}
}
}
...
...
app/src/main/java/com/base/easyfilemanager/adapter/ScreenShotAdapter.kt
View file @
7fd6a633
...
@@ -93,9 +93,9 @@ class ScreenShotAdapter(
...
@@ -93,9 +93,9 @@ class ScreenShotAdapter(
fun
setData
(
screenshotBean
:
List
<
ScreenshotBean
>)
{
fun
setData
(
screenshotBean
:
List
<
ScreenshotBean
>)
{
beans
.
clear
()
beans
.
clear
()
beans
.
addAll
(
screenshotBean
)
beans
.
addAll
(
screenshotBean
)
if
(
beans
.
isNotEmpty
())
{
//
if (beans.isNotEmpty()) {
beans
.
add
(
1
,
ScreenshotBean
().
apply
{
isAd
=
true
})
//
beans.add(1, ScreenshotBean().apply { isAd = true })
}
//
}
notifyDataSetChanged
()
notifyDataSetChanged
()
}
}
...
...
app/src/main/java/com/base/easyfilemanager/display/NotificationHelper.kt
View file @
7fd6a633
...
@@ -175,7 +175,9 @@ object NotificationHelper {
...
@@ -175,7 +175,9 @@ object NotificationHelper {
}
}
ID_BATTERY_PUSH
->
{
ID_BATTERY_PUSH
->
{
remoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_battery
)
remoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
"View phone battery consumption recently"
)
remoteViews
.
setTextViewText
(
R
.
id
.
tv_btn
,
"View"
)
}
}
//==================================下面是被动推送的情况===============================================
//==================================下面是被动推送的情况===============================================
else
->
{
else
->
{
...
...
app/src/main/java/com/base/easyfilemanager/notificationclean/NotificationCleanActivity.kt
View file @
7fd6a633
...
@@ -71,11 +71,11 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>()
...
@@ -71,11 +71,11 @@ class NotificationCleanActivity : BaseActivity<ActivityLayoutTionCleanBinding>()
startService
(
serviceIntent
)
startService
(
serviceIntent
)
binding
.
idNeedNotifcationPremison
.
isVisible
=
false
binding
.
idNeedNotifcationPremison
.
isVisible
=
false
playAnimal
()
playAnimal
()
AdmobUtils
.
showNativeAd
(
this
,
binding
.
flAd
)
}
else
{
}
else
{
binding
.
idNeedNotifcationPremison
.
isVisible
=
true
binding
.
idNeedNotifcationPremison
.
isVisible
=
true
AdmobUtils
.
showNativeAd
(
this
,
binding
.
flAdPermission
)
}
}
AdmobUtils
.
showNativeAd
(
this
,
binding
.
flAd
)
}
}
override
fun
initListener
()
{
override
fun
initListener
()
{
...
...
app/src/main/res/layout/activity_file_category.xml
View file @
7fd6a633
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:src=
"@mipmap/fanhui_w"
android:src=
"@mipmap/fanhui_w"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
tools:ignore=
"ContentDescription
"
app:tint=
"@color/black
"
app:tint=
"@color/black
"
/>
tools:ignore=
"ContentDescription
"
/>
</FrameLayout>
</FrameLayout>
...
@@ -78,6 +78,10 @@
...
@@ -78,6 +78,10 @@
android:layout_weight=
"1"
android:layout_weight=
"1"
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
<FrameLayout
android:id=
"@+id/fl_ad"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<com.noober.background.view.BLTextView
<com.noober.background.view.BLTextView
android:id=
"@+id/tv_delete"
android:id=
"@+id/tv_delete"
...
...
app/src/main/res/layout/activity_file_manager.xml
View file @
7fd6a633
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:src=
"@mipmap/fanhui_tint"
android:src=
"@mipmap/fanhui_tint"
tools:ignore=
"ContentDescription
"
app:tint=
"@color/black
"
app:tint=
"@color/black
"
/>
tools:ignore=
"ContentDescription
"
/>
</FrameLayout>
</FrameLayout>
...
@@ -134,6 +134,11 @@
...
@@ -134,6 +134,11 @@
</FrameLayout>
</FrameLayout>
<FrameLayout
android:id=
"@+id/fl_ad"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_operation"
android:id=
"@+id/ll_operation"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_layout_tion_clean.xml
View file @
7fd6a633
...
@@ -89,7 +89,6 @@
...
@@ -89,7 +89,6 @@
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"18sp"
android:textSize=
"18sp"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:bl_corners_radius=
"24dp"
app:bl_corners_radius=
"24dp"
app:bl_solid_color=
"@color/theme_color"
app:bl_solid_color=
"@color/theme_color"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
...
@@ -205,5 +204,18 @@
...
@@ -205,5 +204,18 @@
app:bl_solid_color=
"@color/theme_color"
app:bl_solid_color=
"@color/theme_color"
tools:ignore=
"HardcodedText"
/>
tools:ignore=
"HardcodedText"
/>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
>
<FrameLayout
android:id=
"@+id/fl_ad_permission"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom"
/>
</FrameLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_recent_app.xml
View file @
7fd6a633
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:orientation=
"vertical"
android:orientation=
"vertical"
app:layout_constraintBottom_to
BottomOf=
"parent
"
app:layout_constraintBottom_to
TopOf=
"@id/fl_ad
"
app:layout_constraintTop_toBottomOf=
"@id/fl_top"
>
app:layout_constraintTop_toBottomOf=
"@id/fl_top"
>
<com.google.android.material.tabs.TabLayout
<com.google.android.material.tabs.TabLayout
...
@@ -64,10 +64,6 @@
...
@@ -64,10 +64,6 @@
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:layout_weight=
"1"
/>
android:layout_weight=
"1"
/>
<FrameLayout
android:id=
"@+id/fl_ad"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</LinearLayout>
<FrameLayout
<FrameLayout
...
@@ -127,7 +123,6 @@
...
@@ -127,7 +123,6 @@
android:background=
"@color/white"
android:background=
"@color/white"
android:gravity=
"center"
android:gravity=
"center"
android:visibility=
"gone"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
app:layout_constraintTop_toTopOf=
"parent"
>
<com.airbnb.lottie.LottieAnimationView
<com.airbnb.lottie.LottieAnimationView
...
@@ -158,5 +153,10 @@
...
@@ -158,5 +153,10 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<FrameLayout
android:id=
"@+id/fl_ad"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_screen_shot.xml
View file @
7fd6a633
...
@@ -64,8 +64,7 @@
...
@@ -64,8 +64,7 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.3"
>
app:layout_constraintVertical_bias=
"0.3"
></FrameLayout>
</FrameLayout>
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_size"
android:id=
"@+id/ll_size"
...
@@ -123,6 +122,11 @@
...
@@ -123,6 +122,11 @@
android:layout_weight=
"1"
android:layout_weight=
"1"
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
<FrameLayout
android:id=
"@+id/fl_ad"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<androidx.constraintlayout.widget.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"80dp"
>
android:layout_height=
"80dp"
>
...
@@ -174,6 +178,7 @@
...
@@ -174,6 +178,7 @@
tools:ignore=
"HardcodedText"
/>
tools:ignore=
"HardcodedText"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</LinearLayout>
<androidx.constraintlayout.widget.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
...
...
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