Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 14th, 2012  |  syntax: None  |  size: 0.46 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Is there a method to save/access values from the previous record for the current BindView record within a CursorAdapter?
  2. public Integer **bvp1gs**;
  3.  
  4.     myCursorAdapter(Context context, Cursor notesCursor) {
  5.         super(context, notesCursor);
  6.        
  7. @Override
  8.   Public void bindView(View view, Context context, Cursor notesCursor) {
  9.         if (HoleNumber < 2) {
  10.             bvp1gs=P1Hole-HolePar;
  11.         } else {
  12.             bvp1gs=bvp1gs+P1Hole-HolePar;
  13.         }