Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vediosocial
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_vediosocial
Commits
223c768b
Commit
223c768b
authored
Feb 08, 2025
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
8100dff0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
build.gradle
video/app/build.gradle
+1
-1
MintsApplication.java
...rc/main/java/com/duben/loveplayletd/MintsApplication.java
+3
-3
SquareAdapter.kt
...n/java/com/duben/loveplayletd/ui/adapter/SquareAdapter.kt
+11
-7
No files found.
video/app/build.gradle
View file @
223c768b
...
...
@@ -286,7 +286,7 @@ dependencies {
// 穿山甲商业化转化组件(必须)
implementation
'com.bytedance.ads:AppConvert:1.3.2.0'
//埋点开发工具,DevTools是 Debug 环境下辅助开发者或测试人员进行应用内埋点验证和 SDK 接入问题排查的组件。请使用 debug 依赖,建议仅在 debug 下做调试
//
debugImplementation 'com.bytedance.applog:RangersAppLog-DevTools:3.3.4'
debugImplementation
'com.bytedance.applog:RangersAppLog-DevTools:3.3.4'
// 腾讯播放器
implementation
"com.tencent.liteav:LiteAVSDK_Player:11.3.0.13176"
...
...
video/app/src/main/java/com/duben/loveplayletd/MintsApplication.java
View file @
223c768b
...
...
@@ -80,16 +80,16 @@ public class MintsApplication extends MultiDexApplication {
// 判断应用是否在前台
ForegroundOrBackground
.
init
(
this
);
initMiitHelper
();
//
initMiitHelper();
TTAdManagerHolder
.
init
(
this
);
CsjAppLogManager
.
INSTANCE
.
init
(
this
);
CsjDJXSdkManager
.
INSTANCE
.
init
(
this
);
TXCSDKService
.
init
(
this
);
CsjAppLogManager
.
INSTANCE
.
init
(
this
);
TalkingDataManager
.
INSTANCE
.
init
(
this
);
// PR下载附件
...
...
video/app/src/main/java/com/duben/loveplayletd/ui/adapter/SquareAdapter.kt
View file @
223c768b
package
com.duben.loveplayletd.ui.adapter
import
android.content.Context
import
android.text.TextUtils
import
android.view.View
import
android.widget.FrameLayout
import
android.widget.ImageView
...
...
@@ -93,6 +94,7 @@ class SquareAdapter : BaseQuickAdapter<HallList.ListDTO, BaseViewHolder>(R.layou
holder
.
getView
<
LinearLayout
>(
R
.
id
.
ll_recommend_root
)
.
setBackgroundResource
(
R
.
drawable
.
shape_bg_black
)
if
(
item
.
headerUrl
!=
null
&&!
TextUtils
.
isEmpty
(
item
.
headerUrl
)){
loadSquareImageView
(
context
,
item
.
headerUrl
,
...
...
@@ -100,6 +102,8 @@ class SquareAdapter : BaseQuickAdapter<HallList.ListDTO, BaseViewHolder>(R.layou
isBlur
,
R
.
mipmap
.
ic_default_avatar_female
)
}
holder
.
getView
<
RelativeLayout
>(
R
.
id
.
rl_album
).
visibility
=
View
.
VISIBLE
holder
.
getView
<
TextView
>(
R
.
id
.
tv_status
).
visibility
=
View
.
VISIBLE
...
...
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