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
fb74386b
Commit
fb74386b
authored
Nov 24, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好兔优化
parent
3a5749f8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
21 deletions
+17
-21
build.gradle
GoodMoney/app/build.gradle
+4
-0
DrawcashBean.java
...main/java/com/mints/goodmoney/mvp/model/DrawcashBean.java
+10
-7
LoanService.java
...pp/src/main/java/com/mints/goodmoney/net/LoanService.java
+0
-8
DrawcashActivity.kt
...java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
+1
-1
DrawcashAdapter.kt
...in/java/com/mints/goodmoney/ui/adapter/DrawcashAdapter.kt
+2
-5
No files found.
GoodMoney/app/build.gradle
View file @
fb74386b
...
@@ -215,6 +215,10 @@ dependencies {
...
@@ -215,6 +215,10 @@ dependencies {
}
}
implementation
'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-armv5:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8'
implementation
'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8'
// 数美
// 数美
implementation
files
(
'libs/smantifraud.aar'
)
implementation
files
(
'libs/smantifraud.aar'
)
// 猎豹游戏
// 猎豹游戏
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/model/DrawcashBean.java
View file @
fb74386b
...
@@ -10,6 +10,7 @@ public class DrawcashBean implements Serializable {
...
@@ -10,6 +10,7 @@ public class DrawcashBean implements Serializable {
private
String
drawcashRule
;
private
String
drawcashRule
;
private
String
drawcashHint
;
private
String
drawcashHint
;
private
int
coin
;
private
int
coin
;
private
String
remark
;
private
List
<
CashOutMoneyArrBean
>
cashOutMoneyArr
;
private
List
<
CashOutMoneyArrBean
>
cashOutMoneyArr
;
public
String
getOpenid
()
{
public
String
getOpenid
()
{
...
@@ -60,10 +61,18 @@ public class DrawcashBean implements Serializable {
...
@@ -60,10 +61,18 @@ public class DrawcashBean implements Serializable {
this
.
cashOutMoneyArr
=
cashOutMoneyArr
;
this
.
cashOutMoneyArr
=
cashOutMoneyArr
;
}
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
public
class
CashOutMoneyArrBean
implements
Serializable
{
public
class
CashOutMoneyArrBean
implements
Serializable
{
private
double
money
;
private
double
money
;
private
boolean
canCashOut
;
private
boolean
canCashOut
;
private
String
remark
;
public
double
getMoney
()
{
public
double
getMoney
()
{
return
money
;
return
money
;
...
@@ -81,12 +90,6 @@ public class DrawcashBean implements Serializable {
...
@@ -81,12 +90,6 @@ public class DrawcashBean implements Serializable {
this
.
canCashOut
=
canCashOut
;
this
.
canCashOut
=
canCashOut
;
}
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
}
}
}
}
GoodMoney/app/src/main/java/com/mints/goodmoney/net/LoanService.java
View file @
fb74386b
...
@@ -91,14 +91,6 @@ public interface LoanService {
...
@@ -91,14 +91,6 @@ public interface LoanService {
@POST
(
"api/saveTerminalInfo"
)
@POST
(
"api/saveTerminalInfo"
)
Observable
<
BaseResponse
<
Object
>>
saveTerminalInfo
(
@Body
Map
<
String
,
Object
>
vo
);
Observable
<
BaseResponse
<
Object
>>
saveTerminalInfo
(
@Body
Map
<
String
,
Object
>
vo
);
// /**
// * 我的界面信息
// *
// * @return
// */
// @POST("api/getUserHallBaseMsg")
// Observable<BaseResponse<MyInfo>> getUserHallBaseMsg();
/**
/**
* 热门活动接口
* 热门活动接口
*
*
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
View file @
fb74386b
...
@@ -215,7 +215,7 @@ class DrawcashActivity : BaseActivity(),
...
@@ -215,7 +215,7 @@ class DrawcashActivity : BaseActivity(),
private
fun
initRvView
()
{
private
fun
initRvView
()
{
val
gridLayoutManager
=
GridLayoutManager
(
this
,
3
)
val
gridLayoutManager
=
GridLayoutManager
(
this
,
3
)
rvCash
.
layoutManager
=
gridLayoutManager
rvCash
.
layoutManager
=
gridLayoutManager
drawcashAdapter
=
priceList
?.
let
{
DrawcashAdapter
(
it
)
}
!!
drawcashAdapter
=
priceList
?.
let
{
DrawcashAdapter
(
it
,
userConfig
?.
remark
!!
)
}
!!
rvCash
.
adapter
=
drawcashAdapter
rvCash
.
adapter
=
drawcashAdapter
drawcashAdapter
.
setOnItemClickListener
(
this
)
drawcashAdapter
.
setOnItemClickListener
(
this
)
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/adapter/DrawcashAdapter.kt
View file @
fb74386b
...
@@ -14,7 +14,7 @@ import com.mints.goodmoney.mvp.model.DrawcashBean
...
@@ -14,7 +14,7 @@ import com.mints.goodmoney.mvp.model.DrawcashBean
import
com.mints.goodmoney.ui.adapter.listener.OnItemClickListener
import
com.mints.goodmoney.ui.adapter.listener.OnItemClickListener
import
java.lang.String
import
java.lang.String
class
DrawcashAdapter
(
val
priceList
:
MutableList
<
DrawcashBean
.
CashOutMoneyArrBean
>)
:
class
DrawcashAdapter
(
val
priceList
:
MutableList
<
DrawcashBean
.
CashOutMoneyArrBean
>
,
val
remark
:
kotlin
.
String
)
:
RecyclerView
.
Adapter
<
DrawcashAdapter
.
ViewHolder
>()
{
RecyclerView
.
Adapter
<
DrawcashAdapter
.
ViewHolder
>()
{
var
myPos
:
Int
=
0
var
myPos
:
Int
=
0
...
@@ -55,10 +55,7 @@ class DrawcashAdapter(val priceList: MutableList<DrawcashBean.CashOutMoneyArrBea
...
@@ -55,10 +55,7 @@ class DrawcashAdapter(val priceList: MutableList<DrawcashBean.CashOutMoneyArrBea
holder
.
tvDrawItemCash
.
text
=
"${priceBean.money}元"
holder
.
tvDrawItemCash
.
text
=
"${priceBean.money}元"
}
}
if
(
priceBean
.
money
==
0.3
)
{
if
(
priceBean
.
money
==
0.3
)
{
priceBean
.
remark
=
"天天可提现"
holder
.
tvDrawItemHint
.
text
=
remark
}
if
(!
TextUtils
.
isEmpty
(
priceBean
.
remark
))
{
holder
.
tvDrawItemHint
.
text
=
priceBean
.
remark
}
}
holder
.
tvDrawItemGold
.
text
=
"约${String.format("
%.
0f
", priceBean.money * 10000)}金币"
holder
.
tvDrawItemGold
.
text
=
"约${String.format("
%.
0f
", priceBean.money * 10000)}金币"
...
...
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