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
35780f10
Commit
35780f10
authored
Oct 21, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
311f61d7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
19 deletions
+8
-19
build.gradle
GoodMoney/app/build.gradle
+0
-6
FriendsTaskBean.java
...n/java/com/mints/goodmoney/mvp/model/FriendsTaskBean.java
+3
-3
CoinRecordActivity.kt
...va/com/mints/goodmoney/ui/activitys/CoinRecordActivity.kt
+1
-1
DrawcashActivity.kt
...java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
+2
-8
EraseActivity.kt
...in/java/com/mints/goodmoney/ui/activitys/EraseActivity.kt
+1
-1
activity_drawcash.xml
GoodMoney/app/src/main/res/layout/activity_drawcash.xml
+1
-0
No files found.
GoodMoney/app/build.gradle
View file @
35780f10
...
@@ -21,12 +21,6 @@ android {
...
@@ -21,12 +21,6 @@ android {
//语言资源,只支持中文
//语言资源,只支持中文
resConfigs
"zh"
resConfigs
"zh"
// ndk {
// //选择要添加的对应cpu类型的.so库。
// abiFilters 'armeabi', 'armeabi-v8a', 'x86'
// // 还可以添加 'x86', 'x86_64', 'mips', 'mips64', 'armeabi-v7a'
// }
//配置so文件
//配置so文件
ndk
{
ndk
{
abiFilters
"armeabi"
,
"armeabi-v7a"
,
"x86"
,
"mips"
abiFilters
"armeabi"
,
"armeabi-v7a"
,
"x86"
,
"mips"
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/model/FriendsTaskBean.java
View file @
35780f10
...
@@ -156,17 +156,17 @@ public class FriendsTaskBean {
...
@@ -156,17 +156,17 @@ public class FriendsTaskBean {
*/
*/
private
String
head
;
private
String
head
;
private
int
sumC
oin
;
private
int
c
oin
;
private
String
nickName
;
private
String
nickName
;
private
String
mobile
;
private
String
mobile
;
private
String
idcode
;
private
String
idcode
;
public
int
getSumCoin
()
{
public
int
getSumCoin
()
{
return
sumC
oin
;
return
c
oin
;
}
}
public
void
setSumCoin
(
int
sumCoin
)
{
public
void
setSumCoin
(
int
sumCoin
)
{
this
.
sumC
oin
=
sumCoin
;
this
.
c
oin
=
sumCoin
;
}
}
public
String
getIdcode
()
{
public
String
getIdcode
()
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/CoinRecordActivity.kt
View file @
35780f10
...
@@ -59,7 +59,7 @@ class CoinRecordActivity : BaseActivity(), View.OnClickListener, OnRefreshListen
...
@@ -59,7 +59,7 @@ class CoinRecordActivity : BaseActivity(), View.OnClickListener, OnRefreshListen
}
}
private
fun
initRecy
()
{
private
fun
initRecy
()
{
recy_drawcash
.
addItemDecoration
(
DividerItemDecoration
(
mContext
,
DividerItemDecoration
.
VERTICAL
))
//
recy_drawcash.addItemDecoration(DividerItemDecoration(mContext, DividerItemDecoration.VERTICAL))
coinRecordAdapter
=
CoinRecordAdapter
(
this
,
mCoinData
)
coinRecordAdapter
=
CoinRecordAdapter
(
this
,
mCoinData
)
recy_drawcash
.
adapter
=
coinRecordAdapter
recy_drawcash
.
adapter
=
coinRecordAdapter
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
View file @
35780f10
...
@@ -89,13 +89,7 @@ class DrawcashActivity : BaseActivity(),
...
@@ -89,13 +89,7 @@ class DrawcashActivity : BaseActivity(),
readyGo
(
DrawcashRecordActivity
::
class
.
java
)
readyGo
(
DrawcashRecordActivity
::
class
.
java
)
}
}
R
.
id
.
iv_coin
->
{
R
.
id
.
rl_coin
->
{
// 是否登录
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
LoginActivity
::
class
.
java
)
return
}
readyGo
(
CoinRecordActivity
::
class
.
java
)
readyGo
(
CoinRecordActivity
::
class
.
java
)
}
}
R
.
id
.
tvDrawcashWx
->
{
R
.
id
.
tvDrawcashWx
->
{
...
@@ -229,7 +223,7 @@ class DrawcashActivity : BaseActivity(),
...
@@ -229,7 +223,7 @@ class DrawcashActivity : BaseActivity(),
private
fun
initListener
()
{
private
fun
initListener
()
{
iv_left_icon
.
setOnClickListener
(
this
)
iv_left_icon
.
setOnClickListener
(
this
)
tv_right_subtitle
.
setOnClickListener
(
this
)
tv_right_subtitle
.
setOnClickListener
(
this
)
iv
_coin
.
setOnClickListener
(
this
)
rl
_coin
.
setOnClickListener
(
this
)
tvDrawcashWx
.
setOnClickListener
(
this
)
tvDrawcashWx
.
setOnClickListener
(
this
)
tvDrawcashNext
.
setOnClickListener
(
this
)
tvDrawcashNext
.
setOnClickListener
(
this
)
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/EraseActivity.kt
View file @
35780f10
...
@@ -110,7 +110,7 @@ class EraseActivity : BaseActivity(), View.OnClickListener{
...
@@ -110,7 +110,7 @@ class EraseActivity : BaseActivity(), View.OnClickListener{
*/
*/
private
fun
getTurnUrl
()
{
private
fun
getTurnUrl
()
{
val
tokenID
:
String
=
userManager
.
getTokenID
()
val
tokenID
:
String
=
userManager
.
getTokenID
()
val
url
:
String
=
BuildConfig
.
MainIp
.
toString
()
+
"hang/card.html?carrierType="
+
carrierType
+
"&token="
+
tokenID
val
url
:
String
=
BuildConfig
.
MainIp
+
"hang/card.html?carrierType="
+
carrierType
+
"&token="
+
tokenID
blEarseWebview
.
loadUrl
(
url
)
blEarseWebview
.
loadUrl
(
url
)
}
}
...
...
GoodMoney/app/src/main/res/layout/activity_drawcash.xml
View file @
35780f10
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<RelativeLayout
<RelativeLayout
android:id=
"@+id/rl_coin"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"20dp"
>
android:layout_margin=
"20dp"
>
...
...
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