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
6b851c6c
Commit
6b851c6c
authored
Aug 01, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
62ffa5ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
MintsApplication.java
...p/src/main/java/com/mints/helivideo/MintsApplication.java
+9
-4
ExpressManager.kt
...ain/java/com/mints/helivideo/ad/express/ExpressManager.kt
+1
-0
fragment_main.xml
video/app/src/main/res/layout/fragment_main.xml
+1
-0
No files found.
video/app/src/main/java/com/mints/helivideo/MintsApplication.java
View file @
6b851c6c
...
...
@@ -53,10 +53,10 @@ public class MintsApplication extends MultiDexApplication {
super
.
onCreate
();
mContext
=
this
.
getApplicationContext
();
// 友盟SDK预初始化函数
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UmengManager
.
INSTANCE
.
preInit
(
this
,
MateUtils
.
INSTANCE
.
getAppMetaData
(
this
,
"CHANNEL_NAME"
));
//
// 友盟SDK预初始化函数
//
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
//
UmengManager.INSTANCE.preInit(this,
//
MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME"));
// 三方配置
thirdConfig
();
...
...
@@ -76,6 +76,11 @@ public class MintsApplication extends MultiDexApplication {
if
(
AppPreferencesManager
.
INSTANCE
.
get
()
.
getBoolean
(
Constant
.
LOAN_PERMISSION_FLAG
,
true
))
return
;
// 友盟SDK预初始化函数
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UmengManager
.
INSTANCE
.
preInit
(
this
,
MateUtils
.
INSTANCE
.
getAppMetaData
(
this
,
"CHANNEL_NAME"
));
initMiitHelper
();
TTAdManagerHolder
.
init
(
this
);
...
...
video/app/src/main/java/com/mints/helivideo/ad/express/ExpressManager.kt
View file @
6b851c6c
...
...
@@ -232,6 +232,7 @@ class ExpressManager {
}
override
fun
onRenderFail
(
p0
:
View
?,
p1
:
String
?,
p2
:
Int
)
{
isLoadSuccess
=
0
Log
.
i
(
TAG
,
"onRenderFail"
)
}
...
...
video/app/src/main/res/layout/fragment_main.xml
View file @
6b851c6c
...
...
@@ -248,6 +248,7 @@
android:id=
"@+id/ll_lucky"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:visibility=
"gone"
android:layout_marginEnd=
"10dp"
android:layout_marginBottom=
"120dp"
android:gravity=
"center"
...
...
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