@Override public void deliverResult(List<ApplicationItem> data){
  if (isReset()) {
    if (data != null) {
      onReleaseResources(data);
    }
  }
  List<ApplicationItem> olddata=mData;
  mData=data;
  if (isStarted()) {
    super.deliverResult(data);
  }
  if (olddata != null) {
    onReleaseResources(olddata);
  }
}

@ Override public void deliverResult ( List < ApplicationItem > data ) { if ( isReset ( ) ) { if ( data != null ) { onReleaseResources ( data ) ; } } List < ApplicationItem > olddata = mData ; mData = data ; if ( isStarted ( ) ) { super . deliverResult ( data ) ; } if ( olddata != null ) { onReleaseResources ( olddata ) ; } }
called when there is new data to deliver to the client . the super class will take care of delivering it ; the implementation here just adds a little more logic .
