@OnClick(R.id.accept) public void onRemoveClick(View view){
  if (SystemClock.elapsedRealtime() - mLastClickTime < 500) {
    return;
  }
  mLastClickTime=SystemClock.elapsedRealtime();
  Offer offerToRemove;
  if (dataRecyclerAdapter != null) {
    offerToRemove=offers.get(getCardPosition(getAdapterPosition()));
  }
 else {
    offerToRemove=offers.get(getAdapterPosition() - BINDER_OFFSET);
  }
  originalOffer=offerToRemove;
  createSnackBar(-(int)offerToRemove.getCost());
  removeOfferStream.onNext(offerToRemove);
  basePlanModel.updateCost(-offerToRemove.getCost(),offerToRemove.doesAffectBaseCost());
}

@ OnClick ( R . id . accept ) public void onRemoveClick ( View view ) { if ( SystemClock . elapsedRealtime ( ) - mLastClickTime < 500 ) { return ; } mLastClickTime = SystemClock . elapsedRealtime ( ) ; Offer offerToRemove ; if ( dataRecyclerAdapter != null ) { offerToRemove = offers . get ( getCardPosition ( getAdapterPosition ( ) ) ) ; } else { offerToRemove = offers . get ( getAdapterPosition ( ) - BINDER_OFFSET ) ; } originalOffer = offerToRemove ; createSnackBar ( - ( int ) offerToRemove . getCost ( ) ) ; removeOfferStream . onNext ( offerToRemove ) ; basePlanModel . updateCost ( - offerToRemove . getCost ( ) , offerToRemove . doesAffectBaseCost ( ) ) ; }
remove accepted offer cards from data / talk / text update the baseplan accordingly provide options for undo
