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
82e84ec3
Commit
82e84ec3
authored
Aug 10, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
4c61a53b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
compiler.xml
video/.idea/compiler.xml
+1
-1
InMoneyVideo.java
.../main/java/com/mints/helivideo/ad/video/InMoneyVideo.java
+1
-1
InMoneyVideoNoPre.java
.../java/com/mints/helivideo/ad/video/InMoneyVideoNoPre.java
+1
-1
MainFragment.kt
...main/java/com/mints/helivideo/ui/fragment/MainFragment.kt
+2
-0
No files found.
video/.idea/compiler.xml
View file @
82e84ec3
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"CompilerConfiguration"
>
<bytecodeTargetLevel
target=
"1
1
"
/>
<bytecodeTargetLevel
target=
"1
.8
"
/>
</component>
</project>
\ No newline at end of file
video/app/src/main/java/com/mints/helivideo/ad/video/InMoneyVideo.java
View file @
82e84ec3
...
...
@@ -213,7 +213,7 @@ public class InMoneyVideo {
int
adCount
=
AppPreferencesManager
.
INSTANCE
.
get
().
getInt
(
Constant
.
VEDIO_AD_COUNT
,
0
);
if
(
adCount
<
50
)
{
AppPreferencesManager
.
INSTANCE
.
get
().
put
(
Constant
.
VEDIO_AD_COUNT
,
adCount
+
+
);
AppPreferencesManager
.
INSTANCE
.
get
().
put
(
Constant
.
VEDIO_AD_COUNT
,
adCount
+
1
);
}
HashMap
<
String
,
Object
>
vo
=
new
HashMap
<>();
...
...
video/app/src/main/java/com/mints/helivideo/ad/video/InMoneyVideoNoPre.java
View file @
82e84ec3
...
...
@@ -152,7 +152,7 @@ public class InMoneyVideoNoPre {
int
adCount
=
AppPreferencesManager
.
INSTANCE
.
get
().
getInt
(
Constant
.
VEDIO_AD_COUNT
,
0
);
if
(
adCount
<
50
)
{
AppPreferencesManager
.
INSTANCE
.
get
().
put
(
Constant
.
VEDIO_AD_COUNT
,
adCount
+
+
);
AppPreferencesManager
.
INSTANCE
.
get
().
put
(
Constant
.
VEDIO_AD_COUNT
,
adCount
+
1
);
}
HashMap
<
String
,
Object
>
vo
=
new
HashMap
<>();
...
...
video/app/src/main/java/com/mints/helivideo/ui/fragment/MainFragment.kt
View file @
82e84ec3
...
...
@@ -410,6 +410,8 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
readyGo
(
RecommendActivity
::
class
.
java
,
bundle
)
},
300
)
}
// println("mcg -->>>>>: mainFirstRecommend=${mainFirstRecommend} , mainTwoRecommend=${mainTwoRecommend} , adCount=${adCount}")
}
}
}
...
...
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