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
880276c6
Commit
880276c6
authored
Dec 25, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
001458fb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
21 deletions
+16
-21
MintsApplication.java
...p/src/main/java/com/mints/goodmoney/MintsApplication.java
+1
-17
DrawcashBean.java
...main/java/com/mints/goodmoney/mvp/model/DrawcashBean.java
+5
-0
DrawcashActivity.kt
...java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
+6
-0
activity_drawcash.xml
GoodMoney/app/src/main/res/layout/activity_drawcash.xml
+4
-4
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/MintsApplication.java
View file @
880276c6
...
...
@@ -62,22 +62,6 @@ public class MintsApplication extends MultiDexApplication {
// 判断应用是否在前台
ForegroundOrBackground
.
init
(
this
);
// ConstantsOpenSdk.isDebug = true;
// XMediaPlayerConstants.isDebug = true;
// XmPlayerConfig.getInstance(this).setDefualtNotificationNickNameAndInfo("开心麻花", "开心开心,无敌开心");
//
// if (BaseUtil.isMainProcess(this)) {
// // 喜马拉雅
// CommonRequest instanse = CommonRequest.getInstanse();
// String mAppSecret = "db3cb9e3ec5943f4987e78ddc5aec728";
// String mAppKey = "ff71a11162f20808f9f349452dd9e141";
// instanse.setAppkey(mAppKey);
// instanse.setAppsecret(mAppSecret);
// instanse.setPackid("com.mints.goodmoney");
// instanse.setUseHttps(false);
// instanse.init(this, mAppSecret);
// }
// 三方配置
thirdConfig
();
}
...
...
@@ -165,7 +149,7 @@ public class MintsApplication extends MultiDexApplication {
}
private
void
initXmly
()
{
XmPlayerConfig
.
getInstance
(
this
).
setDefualtNotificationNickNameAndInfo
(
"好赚钱"
,
"好赚钱"
);
XmPlayerConfig
.
getInstance
(
this
).
setDefualtNotificationNickNameAndInfo
(
Constant
.
MINTS_APP_NAME
,
Constant
.
MINTS_APP_NAME
);
if
(
BaseUtil
.
isMainProcess
(
this
))
{
ConstantsOpenSdk
.
isDebug
=
BuildConfig
.
DEBUG
;
CommonRequest
mXimalaya
=
CommonRequest
.
getInstanse
();
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/model/DrawcashBean.java
View file @
880276c6
...
...
@@ -16,6 +16,7 @@ public class DrawcashBean implements Serializable {
private
List
<
CashOutMoneyArrBean
>
cashOutMoneyArr
;
private
VedioRules
vedioRules
;
private
boolean
isJDNewUser
;
private
boolean
openJDCash
=
true
;
private
String
JDUrl
=
null
;
public
String
getJDUrl
()
{
...
...
@@ -30,6 +31,10 @@ public class DrawcashBean implements Serializable {
return
isJDNewUser
;
}
public
boolean
isOpenJDCash
()
{
return
openJDCash
;
}
public
void
setIsJDNewUser
(
Boolean
isJDNewUser
)
{
this
.
isJDNewUser
=
isJDNewUser
;
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
View file @
880276c6
...
...
@@ -205,6 +205,12 @@ class DrawcashActivity : BaseActivity(),
// rl_drawcash.visibility = View.GONE
// }
if
(
data
.
isOpenJDCash
)
{
rl_drawcash
.
visibility
=
View
.
VISIBLE
}
else
{
rl_drawcash
.
visibility
=
View
.
GONE
}
// 提现更改权重
initAdWeight
(
data
.
vedioRules
)
...
...
GoodMoney/app/src/main/res/layout/activity_drawcash.xml
View file @
880276c6
...
...
@@ -105,15 +105,15 @@
android:id=
"@+id/rl_drawcash"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"
2
0dp"
android:layout_marginEnd=
"
2
0dp"
android:layout_marginStart=
"
1
0dp"
android:layout_marginEnd=
"
1
0dp"
android:layout_marginBottom=
"20dp"
android:orientation=
"horizontal"
>
<RadioButton
android:id=
"@+id/tvDrawWechat"
android:layout_width=
"0dp"
android:layout_height=
"
4
0dp"
android:layout_height=
"
5
0dp"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_weight=
"1"
...
...
@@ -130,7 +130,7 @@
<RadioButton
android:id=
"@+id/tvDrawJd"
android:layout_width=
"0dp"
android:layout_height=
"
4
0dp"
android:layout_height=
"
5
0dp"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_weight=
"1"
...
...
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