Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Data Recovery White
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
Data Recovery White
Commits
751b11ff
Commit
751b11ff
authored
Jul 09, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...ui
parent
ab5efca0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
11 deletions
+13
-11
PrivacyPageFragment.kt
...ava/com/base/datarecovery/fragment/PrivacyPageFragment.kt
+9
-7
ConfigHelper.kt
app/src/main/java/com/base/datarecovery/help/ConfigHelper.kt
+1
-1
strings.xml
app/src/main/res/values/strings.xml
+2
-2
settings.gradle
settings.gradle
+1
-1
No files found.
app/src/main/java/com/base/datarecovery/fragment/PrivacyPageFragment.kt
View file @
751b11ff
package
com.base.datarecovery.fragment
import
android.content.ComponentCallbacks
import
android.content.Intent
import
android.view.View
import
android.widget.Toast
...
...
@@ -75,10 +76,11 @@ class PrivacyPageFragment(
}
binding
.
swipeRefreshLayout
.
setOnRefreshListener
{
binding
.
swipeRefreshLayout
.
isRefreshing
=
true
initData
()
binding
.
root
.
postDelayed
({
binding
.
swipeRefreshLayout
.
isRefreshing
=
false
},
Random
.
nextLong
(
2500
))
initData
{
binding
.
root
.
postDelayed
({
binding
.
swipeRefreshLayout
.
isRefreshing
=
false
},
Random
.
nextLong
(
1500
))
}
}
binding
.
tvManager
.
setOnClickListener
{
startActivity
(
Intent
(
requireContext
(),
PrivacyManageActivity
::
class
.
java
).
apply
{
...
...
@@ -89,7 +91,7 @@ class PrivacyPageFragment(
}
private
fun
initData
()
{
private
fun
initData
(
callback
:
(()
->
Unit
)?
=
null
)
{
val
dir
=
if
(
mediaType
==
"Photos"
)
{
File
(
requireContext
().
filesDir
,
"photos"
)
}
else
{
...
...
@@ -112,9 +114,9 @@ class PrivacyPageFragment(
binding
.
rv
.
visibility
=
View
.
VISIBLE
binding
.
ivAdd
.
visibility
=
View
.
VISIBLE
binding
.
tvManager
.
visibility
=
View
.
VISIBLE
adapter
.
setData
(
list
)
}
adapter
.
setData
(
list
)
callback
?.
invoke
()
})
}
}
\ No newline at end of file
app/src/main/java/com/base/datarecovery/help/ConfigHelper.kt
View file @
751b11ff
...
...
@@ -5,7 +5,7 @@ import com.base.datarecovery.activity.SplashActivity
object
ConfigHelper
{
const
val
privacyPolicy
=
""
const
val
privacyPolicy
=
"
https://sites.google.com/view/file-recovery-po/file-recovery
"
// 域名
const
val
eventUrl
=
"https://rp.easyfilemanager.xyz"
...
...
app/src/main/res/values/strings.xml
View file @
751b11ff
<resources>
<string
name=
"app_name"
>
File Recovery
</string>
<string
name=
"app_name"
>
File Recovery
&
Photo Recovery
</string>
<!-- TODO: Remove or change this placeholder text -->
<string
name=
"hello_blank_fragment"
>
Hello blank fragment
</string>
<string
name=
"facebook_app_id"
>
11
</string>
<string
name=
"facebook_app_id"
>
11
41667540450666
</string>
</resources>
\ No newline at end of file
settings.gradle
View file @
751b11ff
...
...
@@ -24,5 +24,5 @@ dependencyResolutionManagement {
}
}
rootProject
.
name
=
"
Data
Recovery"
rootProject
.
name
=
"
File
Recovery"
include
':app'
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