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
868ee1e3
Commit
868ee1e3
authored
Oct 16, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加分享内容
parent
ddb9925d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
Constant.kt
.../app/src/main/java/com/mints/goodmoney/common/Constant.kt
+9
-4
AwardActivity.kt
...in/java/com/mints/goodmoney/ui/activitys/AwardActivity.kt
+3
-3
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/common/Constant.kt
View file @
868ee1e3
...
...
@@ -2,6 +2,9 @@ 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
{
...
...
@@ -89,13 +92,9 @@ object Constant {
const
val
CARRIER_OFFLINE_DOUBLE
=
"OFFLINE_DOUBLE"
//离线收益
const
val
CARRIER_CHALLENGE_CARD
=
"CHALLENGE_CARD"
//刮刮乐
const
val
CARRIER_GAME
=
"GAME"
//游戏
const
val
CARRIER_ONLINE_INCOME
=
"ONLINE_INCOME"
//在线收益
const
val
CARRIER_GAME_CHALLENGE_TIME
=
"GAME_CHALLENGE_TIME"
//任务赚游戏
const
val
CARRIER_HOMEWATER
=
"HOMEWATER"
//喝水
const
val
CARRIER_DRAWCASH
=
"CARRIER_DRAWCASH"
//提现
const
val
CARRIER_WALK
=
"WALK"
//走路
const
val
CARRIER_WALK_BUBBLE
=
"WALK_BUBBLE"
//走路汽泡
const
val
CARRIER_CHALLENGE_SHAREFRIEND
=
"CHALLENGE_SHAREFRIEND"
//每日分享
const
val
CARRIER_NEW_USER
=
"CARRIER_NEW_USER"
//新用户红包
const
val
CARRIER_FRIENDS
=
"CARRIER_FRIENDS"
//邀请好友
...
...
@@ -137,4 +136,10 @@ object Constant {
const
val
HOT_ACTIVITY_CARD
=
"card"
// 打开激活
const
val
FIRST_DEVICE_FLAG
=
"first_device_flag"
// share
const
val
SHARE_TITLE
=
"当下流行的赚钱模式,边看边玩边赚钱"
var
SHARE_CONTENT
=
"邀请码【${UserManager.getInstance().codeID}】,共享新模式,快来加入跟我一起赚钱吧"
var
SHARE_URL
:
String
=
BuildConfig
.
MainIp
+
"share/shareFriend.html?channel="
+
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
)
}
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/AwardActivity.kt
View file @
868ee1e3
...
...
@@ -144,9 +144,9 @@ class AwardActivity : BaseActivity(), AwardView, View.OnClickListener {
R
.
id
.
tvAwardNext
->
{
when
(
carrierType
)
{
// 只有看视频才能领金币
Constant
.
CARRIER_OFFLINE_DOUBLE
,
Constant
.
CARRIER_SIGNIN_HOMEPAGE_CARD
,
Constant
.
CARRIER_CHALLENGE_TURN
,
Constant
.
CARRIER_CHALLENGE_
CARD
,
Constant
.
CARRIER_VERSUS_VIDEO
,
Constant
.
CARRIER_WALK_BUBBLE
,
Constant
.
CARRIER_
CHALLENGE_TURN
,
Constant
.
CARRIER_CHALLENGE_CARD
->
{
Constant
.
CARRIER_OFFLINE_DOUBLE
,
Constant
.
CARRIER_SIGNIN_HOMEPAGE_CARD
,
Constant
.
CARRIER_CHALLENGE_
TURN
,
Constant
.
CARRIER_CHALLENGE_CARD
,
Constant
.
CARRIER_
VERSUS_VIDEO
,
Constant
.
CARRIER_WALK_BUBBLE
->
{
// awardVedio()
finish
()
}
...
...
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