Skip to content

Commit

Permalink
fix: 修复设备列表中出现的帮助图标
Browse files Browse the repository at this point in the history
  • Loading branch information
a2633063 committed Oct 19, 2020
1 parent a6b9527 commit b7b7f74
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public View getView(int position1, View convertView, ViewGroup parent) {

holder.tv = convertView.findViewById(R.id.textView);
holder.im = convertView.findViewById(R.id.imageView);

holder.im_help = convertView.findViewById(R.id.iv_help);

convertView.setTag(holder);
} else {
Expand All @@ -61,7 +61,7 @@ public View getView(int position1, View convertView, ViewGroup parent) {
holder.tv.setText(mdata.get(position).getName());
holder.im.setImageResource(mdata.get(position).getIcon());
holder.im.setVisibility(View.VISIBLE);

holder.im_help.setVisibility(View.GONE);

// holder.tv.setText(((Map<String, Object>) mdata.get(position)).get("name").toString());

Expand Down Expand Up @@ -114,5 +114,6 @@ public int contains(String mac) {
class ViewHolder {
ImageView im;
TextView tv;
ImageView im_help;
}
}

0 comments on commit b7b7f74

Please sign in to comment.