Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
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_goodmoney
Commits
63caef16
Commit
63caef16
authored
Dec 18, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除用户提示
parent
82b27af0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
12 deletions
+29
-12
BannerManager.kt
.../main/java/com/mints/goodmoney/ad/banner/BannerManager.kt
+4
-1
YlhVedioAdManager.java
.../java/com/mints/goodmoney/ad/video/YlhVedioAdManager.java
+1
-1
TTNativeExpressManager.java
...a/com/mints/goodmoney/manager/TTNativeExpressManager.java
+1
-1
TTPreLoadCarrierExpressManager.java
...nts/goodmoney/manager/TTPreLoadCarrierExpressManager.java
+1
-1
DhGameActivity.kt
...n/java/com/mints/goodmoney/ui/activitys/DhGameActivity.kt
+6
-0
SplashADActivity.kt
...java/com/mints/goodmoney/ui/activitys/SplashADActivity.kt
+5
-0
MainMyAdapter.kt
...main/java/com/mints/goodmoney/ui/adapter/MainMyAdapter.kt
+3
-0
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+8
-8
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/banner/BannerManager.kt
View file @
63caef16
...
...
@@ -8,7 +8,7 @@ import com.bytedance.sdk.openadsdk.TTNativeExpressAd
import
com.mints.goodmoney.MintsApplication
import
com.mints.goodmoney.manager.TtCsjAdManager
import
com.mints.goodmoney.utils.LogUtil
import
com.mints.
library.utils.DensityUtils
import
com.mints.
goodmoney.utils.ToastUtil
/**
* banner管理
...
...
@@ -38,6 +38,9 @@ object BannerManager {
}
}
// ToastUtil.showLong(MintsApplication.getContext(), "csj banner:$codeId")
adNative
?.
let
{
val
adSlot
=
AdSlot
.
Builder
()
.
setCodeId
(
codeId
)
//广告位id
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/video/YlhVedioAdManager.java
View file @
63caef16
...
...
@@ -118,7 +118,7 @@ public class YlhVedioAdManager extends BaseVideoAd implements VedioAdManagerView
ylhPostId
=
YlhAdManager
.
INSTANCE
.
getYLH_AD_VEDIO_MOREDIALOG_POSTID
();
break
;
}
ToastUtil
.
showLong
(
MintsApplication
.
getContext
(),
"ylh vedio:"
+
ylhPostId
);
//
ToastUtil.showLong(MintsApplication.getContext(), "ylh vedio:" + ylhPostId);
if
(
rewardVideoAD
!=
null
)
{
rewardVideoAD
=
null
;
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/TTNativeExpressManager.java
View file @
63caef16
...
...
@@ -69,7 +69,7 @@ public class TTNativeExpressManager {
* @param viewHeight
*/
private
void
getTtNativeExpress
(
String
codeId
,
FrameLayout
view
,
float
viewWidth
,
float
viewHeight
)
{
ToastUtil
.
showLong
(
MintsApplication
.
getContext
(),
"奖励信息流:"
+
codeId
);
//
ToastUtil.showLong(MintsApplication.getContext(), "奖励信息流:" + codeId);
// Context context= MintsApplication.getContext();
//step4:创建广告请求参数AdSlot,具体参数含义参考文档
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/TTPreLoadCarrierExpressManager.java
View file @
63caef16
...
...
@@ -107,7 +107,7 @@ public class TTPreLoadCarrierExpressManager {
public
void
loadTtFrameLayout
(
String
codeId
)
{
// init();
ToastUtil
.
showLong
(
MintsApplication
.
getContext
(),
"通用信息流:"
+
codeId
);
//
ToastUtil.showLong(MintsApplication.getContext(), "通用信息流:" + codeId);
if
(
mWorkHandler
!=
null
)
{
Message
msg
=
Message
.
obtain
();
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/DhGameActivity.kt
View file @
63caef16
...
...
@@ -38,6 +38,12 @@ class DhGameActivity : BaseActivity(), View.OnClickListener {
initListener
()
}
override
fun
onPause
()
{
super
.
onPause
()
loadH5Game
()
}
override
fun
onDestroy
()
{
super
.
onDestroy
()
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/SplashADActivity.kt
View file @
63caef16
...
...
@@ -8,9 +8,11 @@ import android.view.KeyEvent
import
android.view.View
import
android.view.ViewGroup
import
android.widget.TextView
import
com.mints.goodmoney.MintsApplication
import
com.mints.goodmoney.R
import
com.mints.goodmoney.manager.YlhAdManager
import
com.mints.goodmoney.ui.activitys.base.BaseActivity
import
com.mints.goodmoney.utils.ToastUtil
import
com.mints.library.net.netstatus.NetUtils
import
com.qq.e.ads.splash.SplashAD
import
com.qq.e.ads.splash.SplashADListener
...
...
@@ -48,6 +50,9 @@ class SplashADActivity : BaseActivity(), SplashADListener {
}
else
{
try
{
container
=
findViewById
<
View
>(
R
.
id
.
splash_container
)
as
ViewGroup
// ToastUtil.showLong(MintsApplication.getContext(), "ylh splash:$YlhAdManager.YLH_AD_SPLASH_POSTID")
fetchSplashAD
(
this
,
container
,
skipView
,
YlhAdManager
.
YLH_AD_SPLASH_POSTID
,
this
,
0
)
}
catch
(
e
:
Exception
)
{
readyGoOtherActivity
()
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/adapter/MainMyAdapter.kt
View file @
63caef16
...
...
@@ -39,6 +39,9 @@ class MainMyAdapter(context: Context, taskData: MutableList<MyInfo.AutoListBean>
// 掌阅阅读
const
val
TO_ZHANGYUE
=
"TO_ZHANGYUE"
// 电魂
const
val
TO_DHGAME
=
"TO_DHGAME"
}
private
var
mContext
:
Context
=
context
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
63caef16
...
...
@@ -552,6 +552,14 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
showToast
(
"请重新退出账号登录"
)
}
}
MainMyAdapter
.
TO_DHGAME
->
{
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
return
}
readyGo
(
DhGameActivity
::
class
.
java
)
}
}
}
}
...
...
@@ -722,14 +730,6 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
TTPreLoadCarrierExpressManager
.
getInstance
().
loadTtFrameLayout
(
TtCsjAdManager
.
TT_AD_NATIVEEXPRESS_EAT
)
readyGo
(
FoodSubsidyActivity
::
class
.
java
)
}
Constant
.
HOT_ACTIVITY_DHGAME
->
{
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
return
}
readyGo
(
DhGameActivity
::
class
.
java
)
}
else
->
{
if
(!
TextUtils
.
isEmpty
(
hotBean
.
url
)
&&
!
TextUtils
.
isEmpty
(
hotBean
.
title
))
{
val
bundle
=
Bundle
()
...
...
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