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
198a1d0f
Commit
198a1d0f
authored
May 15, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.6发版
parent
fcbb4571
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
AwardActivity.java
...n/java/com/mints/highgold/ui/activitys/AwardActivity.java
+13
-14
MainFragment.java
...ain/java/com/mints/highgold/ui/fragment/MainFragment.java
+4
-4
No files found.
highgold/app/src/main/java/com/mints/highgold/ui/activitys/AwardActivity.java
View file @
198a1d0f
...
...
@@ -628,20 +628,6 @@ public class AwardActivity extends BaseActivity implements AwardView {
// tvAwardNext.setText("我知道了");
break
;
case
Constant
.
CARRIER_HOMEWATER_HIT
:
// 首页喝水打卡
tvAwardContent
.
setText
(
"恭喜喝水打卡成功"
);
tvAwardNext
.
setText
(
"去赚更多金币"
);
tvAwardHint
.
setVisibility
(
View
.
GONE
);
tvAwardCash
.
setVisibility
(
View
.
GONE
);
llAwardBg
.
setBackground
(
getResources
().
getDrawable
(
R
.
mipmap
.
bg_award_drink
));
break
;
case
Constant
.
CARRIER_HOMEWATER_BUBBLE
:
// 首页喝水汽泡
tvAwardContent
.
setText
(
"恭喜获得"
+
curCoin
+
"金币"
);
tvAwardNext
.
setVisibility
(
View
.
GONE
);
tvAwardHint
.
setVisibility
(
View
.
GONE
);
llAwardBg
.
setBackground
(
getResources
().
getDrawable
(
R
.
mipmap
.
bg_award_gold
));
break
;
case
Constant
.
CARRIER_HOMEWATER_BUBBLE_TIME
:
// 首页喝水汽泡整点
RxjavaUtil
.
executeRxTask
(
new
CommonRxTask
<
String
>(
""
)
{
@Override
public
void
doInIOThread
()
{
...
...
@@ -660,6 +646,19 @@ public class AwardActivity extends BaseActivity implements AwardView {
}
});
tvAwardContent
.
setText
(
"恭喜喝水打卡成功"
);
tvAwardNext
.
setText
(
"去赚更多金币"
);
tvAwardHint
.
setVisibility
(
View
.
GONE
);
tvAwardCash
.
setVisibility
(
View
.
GONE
);
llAwardBg
.
setBackground
(
getResources
().
getDrawable
(
R
.
mipmap
.
bg_award_drink
));
break
;
case
Constant
.
CARRIER_HOMEWATER_BUBBLE
:
// 首页喝水汽泡
tvAwardContent
.
setText
(
"恭喜获得"
+
curCoin
+
"金币"
);
tvAwardNext
.
setVisibility
(
View
.
GONE
);
tvAwardHint
.
setVisibility
(
View
.
GONE
);
llAwardBg
.
setBackground
(
getResources
().
getDrawable
(
R
.
mipmap
.
bg_award_gold
));
break
;
case
Constant
.
CARRIER_HOMEWATER_BUBBLE_TIME
:
// 首页喝水汽泡整点
tvAwardContent
.
setText
(
"恭喜获得"
+
curCoin
+
"金币"
);
tvAwardNext
.
setVisibility
(
View
.
GONE
);
tvAwardHint
.
setVisibility
(
View
.
GONE
);
...
...
highgold/app/src/main/java/com/mints/highgold/ui/fragment/MainFragment.java
View file @
198a1d0f
...
...
@@ -711,16 +711,16 @@ public class MainFragment extends BaseFragment
// 喝水时间
if
(
data
.
getNextGetCoinTime
()
>
0
)
{
wvWater
.
setTvDrinkBtnText
(
"喝水打卡"
);
wvWater
.
closeWaterViewTime
();
wvWater
.
setWaterViewTime
(
getActivity
(),
data
.
getNextGetCoinTime
());
}
else
{
if
(!
AppConfig
.
isMintegralInscreenFlag
)
{
if
(
mintegralInscreenVedioAdManager
!=
null
)
{
mintegralInscreenVedioAdManager
.
loadMintegralInscreen
();
}
}
wvWater
.
setTvDrinkBtnText
(
"喝水打卡"
);
wvWater
.
closeWaterViewTime
();
wvWater
.
setWaterViewTime
(
getActivity
(),
data
.
getNextGetCoinTime
());
}
else
{
wvWater
.
setTvDrinkBtnText
(
"喝水领金币"
);
wvWater
.
setWaterViewTimeGone
();
}
...
...
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