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
ca0773f5
Commit
ca0773f5
authored
Dec 06, 2023
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
33dcf6f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
build.gradle
video/app/build.gradle
+2
-2
RecommendBannerActivity.kt
...uben/speedplaylet/ui/activitys/RecommendBannerActivity.kt
+5
-1
No files found.
video/app/build.gradle
View file @
ca0773f5
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.speedplaylet"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
8
versionName
"1.0.
7
"
versionCode
9
versionName
"1.0.
8
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/speedplaylet/ui/activitys/RecommendBannerActivity.kt
View file @
ca0773f5
...
...
@@ -129,6 +129,10 @@ class RecommendBannerActivity : BaseActivity(),RecommendBannerView, View.OnClick
override
fun
onPageScrollStateChanged
(
state
:
Int
)
{}
})
tv_banner_title
.
text
=
String
.
format
(
"《%1s》"
,
data
[
0
].
title
)
if
(
data
!=
null
&&
data
.
size
>
0
){
tv_banner_title
.
text
=
String
.
format
(
"《%1s》"
,
data
[
0
].
title
)
banner
=
data
[
0
]
}
}
}
\ No newline at end of file
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