Skip to content

Commit

Permalink
Update ProductAdapter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
arturalkaim committed May 23, 2014
1 parent a6ca5e0 commit d00839c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -54,4 +55,4 @@ public View getView(int position, View convertView, ViewGroup parent) {
// 5. retrn rowView
return rowView;
}
}
}

0 comments on commit d00839c

Please sign in to comment.