Commit 2821c685 authored by Li's avatar Li

[李俊岐]修改提现列表ui

parent 5ca39b5d
......@@ -61,7 +61,7 @@ class WithdrawAdapter :
// holder.ivAlreadyCashed.visibility = View.VISIBLE
holder.ivNewerOnly.setImageResource(R.drawable.icon_item_yitixian)
// holder.ivAlreadyCashed.visibility = View.VISIBLE
holder.layoutRoot.setBackgroundResource(R.drawable.icon_user_tip_already_cashed)
holder.layoutRoot.setBackgroundResource(R.drawable.shape_user_item_fbffe6_r6_bg)
holder.tvText.setTextColor(Color.parseColor("#999999"))
} else {
// type "1 新人提现 2 打卡提现 3大额提现 4 福利专享 5 订单提现"
......@@ -83,7 +83,6 @@ class WithdrawAdapter :
} else {
holder.layoutRoot.setBackgroundResource(R.drawable.icon_fragment_withdraw_select)
}
}
}
......
......@@ -43,17 +43,17 @@ class UserPresenter : UserContract.Presenter {
//我的抽奖/提现列表
override fun requestGuessMusicLottery() {
UserApiClient.userApi.getGuessMusicLottery()
.compose(RxSchedulers.observableIO2Main())
.subscribe(object : BaseObserver<List<LotteryEntity>>() {
override fun onSuccess(result: List<LotteryEntity>) {
mView.setGuessMusicLotterySuccess(result)
}
override fun onFailure(e: Throwable, code: String, errorMsg: String?) {
mView.setGuessMusicLotteryFailure()
}
})
// UserApiClient.userApi.getGuessMusicLottery()
// .compose(RxSchedulers.observableIO2Main())
// .subscribe(object : BaseObserver<List<LotteryEntity>>() {
// override fun onSuccess(result: List<LotteryEntity>) {
// mView.setGuessMusicLotterySuccess(result)
// }
//
// override fun onFailure(e: Throwable, code: String, errorMsg: String?) {
// mView.setGuessMusicLotteryFailure()
// }
// })
}
//抽奖配置
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:shape="rectangle">
<stroke
android:width="2dp"
android:color="#666666"/>
<solid
android:color="#fbffe6" />
<corners
android:radius="6dp" />
</shape>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment