question: @ Override public void acceptAppOffer ( Offer offer ) { int index = getIndex ( offer , appOffers ) ; if ( index != - 1 ) { appOffers . remove ( index ) ; appOfferStream . onNext ( offer ) ; } index = getIndex ( offer , acceptedOffers ) ; if ( index == - 1 ) { acceptedOffers . add ( offer ) ; } }
target:  Accept app offer Remove from app offers list Update corresponding app usage