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
c29e4b85
Commit
c29e4b85
authored
Dec 11, 2020
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聚乐云广告位添加
parent
08c52f5b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
86 deletions
+35
-86
build.gradle
GoodMoney/app/build.gradle
+5
-1
proguard-rules.pro
GoodMoney/app/proguard-rules.pro
+13
-0
Constant.kt
.../app/src/main/java/com/mints/goodmoney/common/Constant.kt
+1
-4
SceneManager.kt
...src/main/java/com/mints/goodmoney/manager/SceneManager.kt
+8
-8
SettingsActivity.kt
...java/com/mints/goodmoney/ui/activitys/SettingsActivity.kt
+0
-13
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+0
-27
activity_settings.xml
GoodMoney/app/src/main/res/layout/activity_settings.xml
+0
-32
item_fragment_main_my_customer_service.xml
...ain/res/layout/item_fragment_main_my_customer_service.xml
+8
-1
No files found.
GoodMoney/app/build.gradle
View file @
c29e4b85
...
...
@@ -244,11 +244,15 @@ dependencies {
implementation
(
name:
'mh-adsdk'
,
ext:
'aar'
)
implementation
(
name:
'mh-adsdk-ext'
,
ext:
'aar'
)
implementation
(
name:
'ks_3.3.5.3'
,
ext:
'aar'
)
//
趣赚钱
//
聚乐云
implementation
(
name:
'okgo-release'
,
ext:
'aar'
)
implementation
(
name:
'scenemodule-2.0'
,
ext:
'aar'
)
implementation
(
name:
'scenead-2.0'
,
ext:
'aar'
)
implementation
'com.just.agentweb:agentweb:4.1.2'
// implementation 'com.squareup.okio:okio:1.13.0'
// implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
// testImplementation 'junit:junit:4.13'
// androidTestImplementation 'androidx.test.ext:junit:1.1.2'
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
...
...
GoodMoney/app/proguard-rules.pro
View file @
c29e4b85
...
...
@@ -507,4 +507,17 @@
-keep class com.lzy.okgo.
*
* {*;}
-keep class com.fly.scenemodule.
*
* {*;}
#agentweb
-keep class com.just.agentweb.
*
* {
*;
}
-dontwarn com.just.agentweb.
*
*
# # Okio
# -dontwarn com.squareup.
*
*
# -dontwarn okio.
*
*
# -keep class okio.* { *; }
# -keep public class org.codehaus.* { *; }
# -keep public class java.nio.* { *; }
# ======================= 聚乐云 END ================
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/common/Constant.kt
View file @
c29e4b85
package
com.mints.goodmoney.common
import
android.os.Environment
import
com.mints.goodmoney.BuildConfig
import
com.mints.goodmoney.MintsApplication
import
com.mints.goodmoney.manager.UserManager
import
com.mints.library.utils.CommonUtils
object
Constant
{
...
...
@@ -169,7 +166,7 @@ object Constant {
const
val
HOT_ACTIVITY_H5
=
"h5"
const
val
HOT_ACTIVITY_SCRAPPAGE
=
"scrapPage"
const
val
HOT_ACTIVITY_DATI
=
"dati"
const
val
HOT_ACTIVITY_CAICY
=
"c
aichengyu
"
const
val
HOT_ACTIVITY_CAICY
=
"c
cy
"
// 打开激活
const
val
FIRST_DEVICE_FLAG
=
"first_device_flag"
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/SceneManager.kt
View file @
c29e4b85
...
...
@@ -23,18 +23,18 @@ object SceneManager {
//穿山甲-------
val
ttInfo
=
TTInfo
()
ttInfo
.
csJ_Appid
=
""
ttInfo
.
csJ_VideoId
=
""
ttInfo
.
csJ_BannerId
=
""
ttInfo
.
csJ_InteractionId
=
""
ttInfo
.
csJ_Appid
=
TtCsjAdManager
.
TT_AD_APPID
ttInfo
.
csJ_VideoId
=
TtCsjAdManager
.
TT_AD_VEDIO_JULEYUN
ttInfo
.
csJ_BannerId
=
TtCsjAdManager
.
TT_AD_BANNER_JULEYUN
ttInfo
.
csJ_InteractionId
=
TtCsjAdManager
.
TT_AD_INSERT_LOADING_ID_JULEYUN
SceneUtil
.
initCSJConfig
(
ttInfo
)
//广点通-------
val
gdtInfo
=
GDTInfo
()
gdtInfo
.
gdT_Appid
=
""
gdtInfo
.
gdT_VideoId
=
""
gdtInfo
.
gdT_ExpressId
=
""
gdtInfo
.
GDT_InteractionId
=
""
gdtInfo
.
gdT_Appid
=
YlhAdManager
.
YLH_AD_APPID
gdtInfo
.
gdT_VideoId
=
YlhAdManager
.
YLH_AD_VEDIO_JULEYUN_POSTID
gdtInfo
.
gdT_ExpressId
=
YlhAdManager
.
YLH_AD_NATIVEEXPRESS_JULEYUN
gdtInfo
.
GDT_InteractionId
=
YlhAdManager
.
YLH_AD_INTERSTITIALAD_JULEYUN
SceneUtil
.
initGDTConfig
(
gdtInfo
)
}
}
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/SettingsActivity.kt
View file @
c29e4b85
...
...
@@ -150,19 +150,6 @@ class SettingsActivity : BaseActivity(), View.OnClickListener, OnLoginListener,
item_feedBack
.
findViewById
<
TextView
>(
R
.
id
.
tv_title
).
setCompoundDrawables
(
feedBack
,
null
,
null
,
null
)
item_feedBack
.
findViewById
<
TextView
>(
R
.
id
.
tv_right
).
visibility
=
View
.
GONE
item_feedBack
.
findViewById
<
ImageView
>(
R
.
id
.
iv_right
).
visibility
=
View
.
VISIBLE
tv_1
.
setOnClickListener
{
SceneUtil
.
luckyDraw
(
this
)
}
tv_2
.
setOnClickListener
{
SceneUtil
.
cCy
(
this
)
}
tv_3
.
setOnClickListener
{
SceneUtil
.
daTi
(
this
)
}
tv_4
.
setOnClickListener
{
SceneUtil
.
scrapPage
(
this
)
}
}
override
fun
getContentViewLayoutID
()
=
R
.
layout
.
activity_settings
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
c29e4b85
...
...
@@ -12,7 +12,6 @@ import androidx.recyclerview.widget.DividerItemDecoration
import
com.component.dly.xzzq_ywsdk.YwSDK_WebActivity.Companion.open
import
com.fly.scenemodule.SceneUtil
import
com.mints.goodmoney.BuildConfig
import
com.mints.goodmoney.MintsApplication
import
com.mints.goodmoney.R
import
com.mints.goodmoney.ad.banner.BannerManager
import
com.mints.goodmoney.ad.video.VedioAdingManager
...
...
@@ -727,32 +726,6 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
}
}
// /**
// * 跳转QQ弹框
// */
// private fun jumpQQ() {
// cdaa = CustomDialogAsApple(context, object : DialogListener() {
// override fun onClick(v: View) {
// if (cdaa != null && cdaa!!.isShowing) {
// cdaa!!.dismiss()
// }
// when (v.id) {
// R.id.dialog_btn_left -> {
//
// }
// R.id.dialog_btn_right -> {
// QQJumpUtil.jumpQQ(requireActivity())
// }
// }
// }
// })
// cdaa!!.setTitle("提示")
// cdaa!!.setContent("好赚钱想要打开QQ")
// cdaa!!.setLeft("取消")
// cdaa!!.setRight("打开")
// cdaa!!.show()
// }
/**
* 跳转QQ群弹框
*/
...
...
GoodMoney/app/src/main/res/layout/activity_settings.xml
View file @
c29e4b85
...
...
@@ -49,38 +49,6 @@
android:id=
"@+id/item_feedBack"
layout=
"@layout/item_settings"
/>
<Button
android:id=
"@+id/tv_1"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
"幸运抽奖"
/>
<Button
android:id=
"@+id/tv_2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
"猜成语"
/>
<Button
android:id=
"@+id/tv_3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
"答题"
/>
<Button
android:id=
"@+id/tv_4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
"刮刮卡"
/>
<Button
android:id=
"@+id/btn_switch"
android:layout_width=
"200dp"
...
...
GoodMoney/app/src/main/res/layout/item_fragment_main_my_customer_service.xml
View file @
c29e4b85
...
...
@@ -16,6 +16,13 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginBottom=
"20dp"
/>
android:layout_marginBottom=
"10dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginBottom=
"20dp"
android:text=
"请关注公众号:金币宝箱,获取更多赚钱资讯"
/>
</merge>
\ No newline at end of file
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