Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
02dfa964
Commit
02dfa964
authored
Mar 07, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix rename Bean
parent
63752ea8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/main/java/com/common/bean/CertifyProgressInfo.java
+2
-2
src/main/java/tech/starwin/mvp/ui/adapter/TDAccountAdapter.java
+3
-3
src/main/res/layout/item_td_account.xml
+1
-1
No files found.
src/main/java/com/common/bean/CertifyProgress
Bean
.java
→
src/main/java/com/common/bean/CertifyProgress
Info
.java
View file @
02dfa964
...
...
@@ -3,7 +3,7 @@ package com.common.bean;
/**
* Created by SiKang on 2019/3/7.
*/
public
class
CertifyProgress
Bean
{
public
class
CertifyProgress
Info
{
private
String
progressName
;
private
boolean
isPassed
;
private
boolean
isActivited
;
...
...
@@ -13,7 +13,7 @@ public class CertifyProgressBean {
return
progressName
;
}
public
CertifyProgress
Bean
(
String
progressName
,
int
iconResId
)
{
public
CertifyProgress
Info
(
String
progressName
,
int
iconResId
)
{
this
.
progressName
=
progressName
;
this
.
isPassed
=
false
;
this
.
isActivited
=
false
;
...
...
src/main/java/tech/starwin/mvp/ui/adapter/TDAccountAdapter.java
View file @
02dfa964
...
...
@@ -58,14 +58,14 @@ public class TDAccountAdapter extends BaseRecyclerAdapter<ThirdPartItemBean> {
}
holder
.
getTextView
(
R
.
id
.
item_tdaccount_name_tv
).
setText
(
item
.
getType
());
holder
.
getImageView
(
R
.
id
.
item_tdaccount_finish_imv
).
setImageResource
(
finishDrawable
);
holder
.
getView
(
R
.
id
.
item_tdaccount_start_btn
).
setBackgroundResource
(
normalDrawable
);
//
holder.getView(R.id.item_tdaccount_start_btn).setBackgroundResource(normalDrawable);
if
(
item
.
isBindFlag
())
{
holder
.
getImageView
(
R
.
id
.
item_tdaccount_finish_imv
).
setVisibility
(
View
.
VISIBLE
);
holder
.
getView
(
R
.
id
.
item_tdaccount_start_btn
).
setVisibility
(
View
.
GONE
);
}
else
{
holder
.
getImageView
(
R
.
id
.
item_tdaccount_finish_imv
).
setVisibility
(
View
.
GONE
);
holder
.
getView
(
R
.
id
.
item_tdaccount_start_btn
).
setVisibility
(
View
.
VISIBLE
);
holder
.
getView
(
R
.
id
.
item_tdaccount_start_btn
).
setVisibility
(
item
.
isForceFlag
()
?
View
.
GONE
:
View
.
VISIBLE
);
}
}
...
...
@@ -80,7 +80,7 @@ public class TDAccountAdapter extends BaseRecyclerAdapter<ThirdPartItemBean> {
/**
* 是否完成了必须的认证
*
*
/
*/
public
static
boolean
isTDPassed
(
List
<
ThirdPartItemBean
>
itemBeans
)
{
for
(
ThirdPartItemBean
item
:
itemBeans
)
{
if
(!
item
.
isBindFlag
()
&&
item
.
isForceFlag
())
{
...
...
src/main/res/layout/item_td_account.xml
View file @
02dfa964
...
...
@@ -55,7 +55,7 @@
android:enabled=
"false"
android:longClickable=
"false"
android:text=
"@string/text_optional"
android:textColor=
"@color/
white
"
android:textColor=
"@color/
color_font_grayest
"
android:textSize=
"11sp"
/>
<ImageView
...
...
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