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
9918e76e
Commit
9918e76e
authored
Nov 13, 2023
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
d5e861ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
InMoneyVideo.java
...in/java/com/duben/supertheater/ad/video/InMoneyVideo.java
+12
-0
InMoneyVideoNoPre.java
...va/com/duben/supertheater/ad/video/InMoneyVideoNoPre.java
+12
-0
No files found.
video/app/src/main/java/com/duben/supertheater/ad/video/InMoneyVideo.java
View file @
9918e76e
...
@@ -284,6 +284,12 @@ public class InMoneyVideo {
...
@@ -284,6 +284,12 @@ public class InMoneyVideo {
}
}
};
};
/**
* 界面回调处理,此处添加过滤,防止重复调用
*
* @param carrierType
* @return
*/
private
boolean
isNoReportCarrier
(
String
carrierType
)
{
private
boolean
isNoReportCarrier
(
String
carrierType
)
{
List
<
String
>
strings
=
new
ArrayList
<>();
List
<
String
>
strings
=
new
ArrayList
<>();
strings
.
add
(
Constant
.
CARRIERTYPE_REWARD_MINIVEDIO_VEDIO
);
strings
.
add
(
Constant
.
CARRIERTYPE_REWARD_MINIVEDIO_VEDIO
);
...
@@ -298,6 +304,12 @@ public class InMoneyVideo {
...
@@ -298,6 +304,12 @@ public class InMoneyVideo {
return
strings
.
contains
(
carrierType
);
return
strings
.
contains
(
carrierType
);
}
}
/**
* 提现红包、元宝 点击跳过不发奖励
*
* @param carrierType
* @return
*/
private
boolean
isRewardValidForCarrier
(
String
carrierType
)
{
private
boolean
isRewardValidForCarrier
(
String
carrierType
)
{
if
(!
isRewardValid
)
{
if
(!
isRewardValid
)
{
if
(
TextUtils
.
equals
(
carrierType
,
Constant
.
CARRIERTYPE_TASK_YUANBAO
)
||
if
(
TextUtils
.
equals
(
carrierType
,
Constant
.
CARRIERTYPE_TASK_YUANBAO
)
||
...
...
video/app/src/main/java/com/duben/supertheater/ad/video/InMoneyVideoNoPre.java
View file @
9918e76e
...
@@ -224,6 +224,12 @@ public class InMoneyVideoNoPre {
...
@@ -224,6 +224,12 @@ public class InMoneyVideoNoPre {
}
}
};
};
/**
* 界面回调处理,此处添加过滤,防止重复调用
*
* @param carrierType
* @return
*/
private
boolean
isNoReportCarrier
(
String
carrierType
)
{
private
boolean
isNoReportCarrier
(
String
carrierType
)
{
List
<
String
>
strings
=
new
ArrayList
<>();
List
<
String
>
strings
=
new
ArrayList
<>();
strings
.
add
(
Constant
.
CARRIERTYPE_REWARD_MINIVEDIO_VEDIO
);
strings
.
add
(
Constant
.
CARRIERTYPE_REWARD_MINIVEDIO_VEDIO
);
...
@@ -237,6 +243,12 @@ public class InMoneyVideoNoPre {
...
@@ -237,6 +243,12 @@ public class InMoneyVideoNoPre {
return
strings
.
contains
(
carrierType
);
return
strings
.
contains
(
carrierType
);
}
}
/**
* 提现红包、元宝 点击跳过不发奖励
*
* @param carrierType
* @return
*/
private
boolean
isRewardValidForCarrier
(
String
carrierType
)
{
private
boolean
isRewardValidForCarrier
(
String
carrierType
)
{
if
(!
isRewardValid
)
{
if
(!
isRewardValid
)
{
if
(
TextUtils
.
equals
(
carrierType
,
Constant
.
CARRIERTYPE_TASK_YUANBAO
)
||
if
(
TextUtils
.
equals
(
carrierType
,
Constant
.
CARRIERTYPE_TASK_YUANBAO
)
||
...
...
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