From d00839c0117993f4b5a35c82b45e78a884cbefc9 Mon Sep 17 00:00:00 2001 From: arturalkaim Date: Fri, 23 May 2014 23:35:52 +0100 Subject: [PATCH] Update ProductAdapter.java --- .../src/epic/easystock/assist/ProductAdapter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EasyStockAndroid/src/epic/easystock/assist/ProductAdapter.java b/EasyStockAndroid/src/epic/easystock/assist/ProductAdapter.java index 9a803e6..8afef1c 100644 --- a/EasyStockAndroid/src/epic/easystock/assist/ProductAdapter.java +++ b/EasyStockAndroid/src/epic/easystock/assist/ProductAdapter.java @@ -44,7 +44,8 @@ public View getView(int position, View convertView, ViewGroup parent) { TextView labelViewName = (TextView) rowView.findViewById(R.id.product_row_label_name); TextView labelViewBarCode = (TextView) rowView.findViewById(R.id.product_row_label_barCode); //TextView labelViewDescription = (TextView) rowView.findViewById(R.id.product_row_label_description); - + ImageView image = (ImageView) rowView.findViewById(R.id.imageView1); + image.setVisibility(View.GONE); // 4. Set the text for textView //labelViewIdProduct.setText(productArrayList.get(position).getKey().toString()); labelViewName.setText(productArrayList.get(position).getName()); @@ -54,4 +55,4 @@ public View getView(int position, View convertView, ViewGroup parent) { // 5. retrn rowView return rowView; } -} \ No newline at end of file +}