Skip to content

Commit d00839c

Browse files
committed
Update ProductAdapter.java
1 parent a6ca5e0 commit d00839c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

EasyStockAndroid/src/epic/easystock/assist/ProductAdapter.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public View getView(int position, View convertView, ViewGroup parent) {
4444
TextView labelViewName = (TextView) rowView.findViewById(R.id.product_row_label_name);
4545
TextView labelViewBarCode = (TextView) rowView.findViewById(R.id.product_row_label_barCode);
4646
//TextView labelViewDescription = (TextView) rowView.findViewById(R.id.product_row_label_description);
47-
47+
ImageView image = (ImageView) rowView.findViewById(R.id.imageView1);
48+
image.setVisibility(View.GONE);
4849
// 4. Set the text for textView
4950
//labelViewIdProduct.setText(productArrayList.get(position).getKey().toString());
5051
labelViewName.setText(productArrayList.get(position).getName());
@@ -54,4 +55,4 @@ public View getView(int position, View convertView, ViewGroup parent) {
5455
// 5. retrn rowView
5556
return rowView;
5657
}
57-
}
58+
}

0 commit comments

Comments
 (0)