Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold
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_highgold
Commits
c987e9ab
Commit
c987e9ab
authored
Aug 03, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容穿山甲SDK版本
parent
b7f0702a
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
48 additions
and
62 deletions
+48
-62
build.gradle
highgold/app/build.gradle
+1
-1
open_ad_sdk.aar
highgold/app/libs/open_ad_sdk.aar
+0
-0
CsjFullVedioAdManager.java
...ain/java/com/mints/highgold/ad/CsjFullVedioAdManager.java
+4
-4
CsjVedioAdManager.java
...rc/main/java/com/mints/highgold/ad/CsjVedioAdManager.java
+4
-4
MintegralInscreenVedioAdManager.java
...old/ad/inscreenvedio/MintegralInscreenVedioAdManager.java
+4
-4
LiebaoManager.java
...c/main/java/com/mints/highgold/manager/LiebaoManager.java
+1
-11
TTAdManagerHolder.java
...in/java/com/mints/highgold/manager/TTAdManagerHolder.java
+2
-11
AwardActivity.java
...n/java/com/mints/highgold/ui/activitys/AwardActivity.java
+8
-8
DrinkClockActivity.java
...a/com/mints/highgold/ui/activitys/DrinkClockActivity.java
+4
-4
DrinkTeaActivity.java
...ava/com/mints/highgold/ui/activitys/DrinkTeaActivity.java
+4
-4
EraseActivity.java
...n/java/com/mints/highgold/ui/activitys/EraseActivity.java
+4
-4
TurntableActivity.java
...va/com/mints/highgold/ui/activitys/TurntableActivity.java
+3
-3
VersusFragment.java
...n/java/com/mints/highgold/ui/fragment/VersusFragment.java
+4
-4
DislikeDialog.java
...ain/java/com/mints/highgold/ui/widgets/DislikeDialog.java
+5
-0
No files found.
highgold/app/build.gradle
View file @
c987e9ab
...
...
@@ -203,7 +203,7 @@ dependencies {
// 三方接入
// 穿山甲广告
implementation
(
name:
'open_ad_sdk
_3.9.0.0
'
,
ext:
'aar'
)
implementation
(
name:
'open_ad_sdk'
,
ext:
'aar'
)
implementation
'pl.droidsonroids.gif:android-gif-drawable:1.2.6'
// 极光推送
implementation
'cn.jiguang.sdk:jpush:3.6.6'
...
...
highgold/app/libs/open_ad_sdk
_3.9.0.0
.aar
→
highgold/app/libs/open_ad_sdk.aar
View file @
c987e9ab
No preview for this file type
highgold/app/src/main/java/com/mints/highgold/ad/CsjFullVedioAdManager.java
View file @
c987e9ab
...
...
@@ -207,10 +207,10 @@ public class CsjFullVedioAdManager implements LyVedioAdManagerView {
}
}
@Override
public
void
onFullScreenVideoCached
(
TTFullScreenVideoAd
ttFullScreenVideoAd
)
{
}
//
@Override
//
public void onFullScreenVideoCached(TTFullScreenVideoAd ttFullScreenVideoAd) {
//
//
}
});
}
...
...
highgold/app/src/main/java/com/mints/highgold/ad/CsjVedioAdManager.java
View file @
c987e9ab
...
...
@@ -200,10 +200,10 @@ public class CsjVedioAdManager implements LyVedioAdManagerView {
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
highgold/app/src/main/java/com/mints/highgold/ad/inscreenvedio/MintegralInscreenVedioAdManager.java
View file @
c987e9ab
...
...
@@ -181,10 +181,10 @@ public class MintegralInscreenVedioAdManager {
}
}
@Override
public
void
onFullScreenVideoCached
(
TTFullScreenVideoAd
ttFullScreenVideoAd
)
{
}
//
@Override
//
public void onFullScreenVideoCached(TTFullScreenVideoAd ttFullScreenVideoAd) {
//
//
}
});
}
}
highgold/app/src/main/java/com/mints/highgold/manager/LiebaoManager.java
View file @
c987e9ab
...
...
@@ -69,17 +69,7 @@ public class LiebaoManager {
.
directDownloadNetworkType
(
TTAdConstant
.
NETWORK_STATE_WIFI
,
TTAdConstant
.
NETWORK_STATE_3G
)
//允许直接下载的网络状态集合
.
supportMultiProcess
(
false
)
//是否支持多进程,true支持
.
asyncInit
(
true
)
.
build
(),
new
TTAdSdk
.
InitCallback
()
{
@Override
public
void
success
()
{
}
@Override
public
void
fail
(
int
i
,
String
s
)
{
}
});
.
build
());
CmGameAppInfo
cmGameAppInfo
=
new
CmGameAppInfo
();
...
...
highgold/app/src/main/java/com/mints/highgold/manager/TTAdManagerHolder.java
View file @
c987e9ab
...
...
@@ -84,17 +84,8 @@ public class TTAdManagerHolder {
//step1:接入网盟广告sdk的初始化操作,详情见接入文档和穿山甲平台说明
private
static
void
doInit
(
Context
context
)
{
if
(!
sInit
)
{
TTAdSdk
.
init
(
context
,
buildConfig
(
context
),
new
TTAdSdk
.
InitCallback
()
{
@Override
public
void
success
()
{
sInit
=
true
;
}
@Override
public
void
fail
(
int
i
,
String
s
)
{
sInit
=
false
;
}
});
sInit
=
true
;
TTAdSdk
.
init
(
context
,
buildConfig
(
context
));
}
}
...
...
highgold/app/src/main/java/com/mints/highgold/ui/activitys/AwardActivity.java
View file @
c987e9ab
...
...
@@ -980,10 +980,10 @@ public class AwardActivity extends BaseActivity implements AwardView {
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
@@ -1183,10 +1183,10 @@ public class AwardActivity extends BaseActivity implements AwardView {
}
}
@Override
public
void
onFullScreenVideoCached
(
TTFullScreenVideoAd
ttFullScreenVideoAd
)
{
}
//
@Override
//
public void onFullScreenVideoCached(TTFullScreenVideoAd ttFullScreenVideoAd) {
//
//
}
});
...
...
highgold/app/src/main/java/com/mints/highgold/ui/activitys/DrinkClockActivity.java
View file @
c987e9ab
...
...
@@ -717,10 +717,10 @@ public class DrinkClockActivity extends BaseActivity implements DrinkClockView,
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
highgold/app/src/main/java/com/mints/highgold/ui/activitys/DrinkTeaActivity.java
View file @
c987e9ab
...
...
@@ -483,10 +483,10 @@ public class DrinkTeaActivity extends BaseActivity
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
highgold/app/src/main/java/com/mints/highgold/ui/activitys/EraseActivity.java
View file @
c987e9ab
...
...
@@ -462,10 +462,10 @@ public class EraseActivity extends BaseActivity
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
highgold/app/src/main/java/com/mints/highgold/ui/activitys/TurntableActivity.java
View file @
c987e9ab
...
...
@@ -472,9 +472,9 @@ public class TurntableActivity extends BaseActivity
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
highgold/app/src/main/java/com/mints/highgold/ui/fragment/VersusFragment.java
View file @
c987e9ab
...
...
@@ -1976,10 +1976,10 @@ public class VersusFragment extends BaseFragment
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//
@Override
//
public void onRewardVideoCached(TTRewardVideoAd ttRewardVideoAd) {
//
//
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
...
...
highgold/app/src/main/java/com/mints/highgold/ui/widgets/DislikeDialog.java
View file @
c987e9ab
...
...
@@ -85,6 +85,11 @@ public class DislikeDialog extends TTDislikeDialogAbstract {
return
new
int
[]{
R
.
id
.
lv_dislike_custom
};
}
@Override
public
int
[]
getPersonalizationPromptIds
()
{
return
new
int
[
0
];
}
@Override
public
ViewGroup
.
LayoutParams
getLayoutParams
()
{
return
null
;
...
...
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