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
252dffef
Commit
252dffef
authored
Apr 19, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改小满科技上报两次行为
parent
c6ae6817
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
XiaomanActivity.kt
.../java/com/mints/goodmoney/ui/activitys/XiaomanActivity.kt
+0
-3
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+4
-1
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/XiaomanActivity.kt
View file @
252dffef
...
...
@@ -78,10 +78,7 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener {
* 媒体对接时注意替换
*/
val
fragment
=
CampaignFragment
.
newInstance
(
System
.
currentTimeMillis
().
toString
()
+
""
)
// fragment.setPlaceId(intent.getStringExtra("placeId"))
fragment
.
setPlaceId
(
placeId
)
// fragment.setPlaceId("3497")
fragment
.
setCallback
(
object
:
CampaignCallback
()
{
override
fun
showAd
(
s
:
String
)
{
//2.2.9.1//调用激励视频
super
.
showAd
(
s
)
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
252dffef
...
...
@@ -153,6 +153,9 @@ class MyFragment : BaseFragment(),
super
.
onResume
()
if
(
AppConfig
.
fragmentClickFlag
==
Constant
.
FRAGMENT_CLICK_FIVE
)
{
// 防止首次加载两次
if
(
AntiShake
.
check
(
item_title_id
?.
id
))
return
DownloadApkManager
.
tryOnceInstallApk
()
if
(!
TextUtils
.
isEmpty
(
userManager
.
userID
))
{
...
...
@@ -245,7 +248,7 @@ class MyFragment : BaseFragment(),
// 生成热门活动数据
private
fun
generateGridData
(
data
:
List
<
BannerBean
.
ListBean
>)
{
val
inflater
=
LayoutInflater
.
from
(
mContext
)
for
(
i
in
0
..
data
.
size
-
1
)
{
for
(
i
in
0
..
data
.
size
-
1
)
{
if
(
data
.
get
(
i
).
toUrl
.
equals
(
Constant
.
HOT_ACTIVITY_SHEEP
))
{
XmManager
.
loadMater
(
data
.
get
(
i
).
xmPlaceId
)
break
...
...
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