Commit 02dfa964 by sikang

bug fix rename Bean

parent 63752ea8
......@@ -3,7 +3,7 @@ package com.common.bean;
/**
* Created by SiKang on 2019/3/7.
*/
public class CertifyProgressBean {
public class CertifyProgressInfo {
private String progressName;
private boolean isPassed;
private boolean isActivited;
......@@ -13,7 +13,7 @@ public class CertifyProgressBean {
return progressName;
}
public CertifyProgressBean(String progressName, int iconResId) {
public CertifyProgressInfo(String progressName, int iconResId) {
this.progressName = progressName;
this.isPassed = false;
this.isActivited = false;
......
......@@ -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()) {
......
......@@ -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
......
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