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
d7dab450
Commit
d7dab450
authored
May 28, 2021
by
张释方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
骰子优化
parent
52aaa9c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ShaiziActivity.kt
...n/java/com/mints/goodmoney/ui/activitys/ShaiziActivity.kt
+5
-4
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/ShaiziActivity.kt
View file @
d7dab450
...
...
@@ -40,7 +40,6 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView {
.
append
(
"(奖励以金币形式发放),若没有猜中则本次提现金币回收。"
)
.
create
()
tv2
.
text
=
spannable
initListener
()
}
override
fun
onResume
()
{
...
...
@@ -89,10 +88,12 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView {
6
->
Glide
.
with
(
context
).
load
(
R
.
mipmap
.
iv_tx_sz6
).
into
(
iv_saizi
);
}
if
(
success
==
1
)
{
showresultDialog
(
"恭喜您!"
,
"本次开奖结果为小,您的收益已翻倍!"
,
true
)
if
(
success
==
1
){
if
(
shaiziFlag
==
1
)
showresultDialog
(
"恭喜您!"
,
"本次开奖结果为大,您的收益已翻倍!"
,
true
)
//猜的是大
else
showresultDialog
(
"恭喜您!"
,
"本次开奖结果为小,您的收益已翻倍!"
,
true
)
//猜的是小
}
else
{
showresultDialog
(
"很遗憾!"
,
"本次开奖结果为大,您未中奖,金币已收回。"
,
false
)
if
(
shaiziFlag
===
1
)
showresultDialog
(
"很遗憾!"
,
"本次开奖结果为小,您未中奖,金币已收回。"
,
false
)
else
showresultDialog
(
"很遗憾!"
,
"本次开奖结果为大,您未中奖,金币已收回。"
,
false
)
}
// if (shaiziFlag == 1) {
// if (count >= 4) {
...
...
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