public InvoiceDetailsAdapter(Activity context, int rowResourceID, Library.TransDetList _list) : base(context, rowResourceID, _list) { this.context = context; detailsList = _list; }
public void MarkDetailDeleted(TransDet d) { d.IsDeleted = true; if (d.IsNew) { TransDetList.Remove(d); } else { if (TransDetListDeleted == null) { TransDetListDeleted = new TransDetList(); } TransDetListDeleted.Add(d); } TransDetList.RefreshNumbers(); }