Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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
android
android_vedio
Commits
8797e99a
Commit
8797e99a
authored
Nov 29, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
1e40b3e8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
6 deletions
+11
-6
build.gradle
video/app/build.gradle
+2
-2
AlipayTimeActivity.kt
...com/duben/loveplayletu/ui/activitys/AlipayTimeActivity.kt
+4
-1
BaseActivity.java
...om/duben/loveplayletu/ui/activitys/base/BaseActivity.java
+1
-1
MainFragment.kt
...n/java/com/duben/loveplayletu/ui/fragment/MainFragment.kt
+3
-1
activity_alipaytime.xml
video/app/src/main/res/layout/activity_alipaytime.xml
+1
-1
No files found.
video/app/build.gradle
View file @
8797e99a
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.loveplayletu"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
72
5
versionName
"7.2.
5
"
versionCode
72
6
versionName
"7.2.
6
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/loveplayletu/ui/activitys/AlipayTimeActivity.kt
View file @
8797e99a
...
...
@@ -45,7 +45,10 @@ class AlipayTimeActivity : BaseActivity(), View.OnClickListener {
override
fun
initViewsAndEvents
()
{
ivBack
.
setOnClickListener
(
this
)
countDownTimer
=
SimpleCountDownTimer
(((
alipaytime
)
*
1000
).
toLong
(),
tv_alipaytime
).
setOnFinishListener
{
countDownTimer
=
SimpleCountDownTimer
(
((
alipaytime
)
*
60
*
1000
).
toLong
(),
tv_alipaytime
).
setOnFinishListener
{
finish
()
}.
start
()
as
SimpleCountDownTimer
?
}
...
...
video/app/src/main/java/com/duben/loveplayletu/ui/activitys/base/BaseActivity.java
View file @
8797e99a
...
...
@@ -39,7 +39,7 @@ public abstract class BaseActivity extends BaseAppCompatActivity implements Base
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
// 禁止截图
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
getWindow
().
addFlags
(
WindowManager
.
LayoutParams
.
FLAG_SECURE
);
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
O
)
{
setRequestedOrientation
(
ActivityInfo
.
SCREEN_ORIENTATION_PORTRAIT
);
...
...
video/app/src/main/java/com/duben/loveplayletu/ui/fragment/MainFragment.kt
View file @
8797e99a
...
...
@@ -120,7 +120,9 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
}
else
{
homePresenter
.
topTabs
()
homePresenter
.
orders
()
homePresenter
.
signAfterSeconds
()
if
(
userManager
.
vipFlag
)
{
homePresenter
.
signAfterSeconds
()
}
TrackManager
.
getInstance
().
getMyInfo
()
}
...
...
video/app/src/main/res/layout/activity_alipaytime.xml
View file @
8797e99a
...
...
@@ -51,6 +51,6 @@
android:gravity=
"center_horizontal"
android:layout_marginTop=
"20dp"
android:textSize=
"15sp"
android:textColor=
"@color/
graya
"
android:textColor=
"@color/
order_color
"
android:text=
"请耐心等待~\n注意:若取消开通,默认不参与返现活动"
></TextView>
</LinearLayout>
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