No this have nothing to do with order class. It links this to the layout,
and in that you have orderID so you need to put orderID here too.
OrderNumber is used in the orderconfirmation screen already so you cannot
reuse it
On May 22, 2013 3:58 PM, "kram8919" <notifications@github.com> wrote:

> In src/com/intuitive/yummy/models/PendOrdersAdapter.java:
>
> > +		super(context, layoutResourceId, data);
> > +		this.context = context;
> > +		this.layoutResourceId = layoutResourceId;
> > +		this.data = data;
> > +	}
> > +	
> > +	@Override
> > +	public View getView(int position, View convertView, ViewGroup parent) {
> > +		View row = convertView;
> > +		OrderHolder holder = null;
> > +		if(row == null)
> > +		{
> > +			LayoutInflater inflater = ((Activity)context).getLayoutInflater();
> > +			row = inflater.inflate(layoutResourceId, parent, false);
> > +			holder = new OrderHolder();
> > +			holder.orderID = (TextView)row.findViewById(R.id.orderNumber);
>
> Ordernumber is the attribute we have in the Order class. Going to have to
> change it in the class.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Intuitive/YummyAndroid/pull/14/files#r4347475>
> .
>