|
@ -117,8 +117,14 @@ public class ShareListAdapter extends BaseAdapter {
|
117
|
117
|
if ((datas.get(position).getString("status")).equals("3") && !"".equals((datas.get(position).getString("status")))) {
|
118
|
118
|
holder.tv_shareState.setText("信息不完善");
|
119
|
119
|
holder.tv_shareState.setTextColor(convertView.getResources().getColor(R.color.juhuang));
|
120
|
|
holder.tv_reason.setText("原因:" + datas.get(position).getString("deny_inf"));
|
121
|
|
holder.tv_reason.setVisibility(View.VISIBLE);
|
|
120
|
|
|
121
|
String reason = datas.get(position).getString("deny_inf");
|
|
122
|
if (reason != null && !"".equals(reason.trim())) {
|
|
123
|
holder.tv_reason.setText("原因:" + reason);
|
|
124
|
holder.tv_reason.setVisibility(View.VISIBLE);
|
|
125
|
} else {
|
|
126
|
holder.tv_reason.setVisibility(View.GONE);
|
|
127
|
}
|
122
|
128
|
holder.tv_edit.setVisibility(View.VISIBLE);
|
123
|
129
|
} else {
|
124
|
130
|
holder.tv_reason.setVisibility(View.GONE);
|