@Override
  public void destroyItem(View container, int position, Object object) {
    ViewPicWrapper wrapper = (ViewPicWrapper) object;
    ImageView imageView = (wrapper).imageView;
    View parent = (View) imageView.getParent();

    mActiveRequesters.remove(wrapper);
    ContentHandler.getInstance().removeRequester(wrapper);
    ((ViewPager) container).removeView(parent);
  }
 public void requestUpdates(boolean shouldRequestUpdates) {
   if (shouldRequestUpdates) {
     if (!runningRequest) {
       contentChanged(ReadNotification.requestNotificationList(this));
     }
   } else {
     ContentHandler.getInstance().removeRequester(this);
     onDestroy();
   }
   runningRequest = shouldRequestUpdates;
 }
 public void onDestroy() {
   for (ViewPicWrapper requester : mActiveRequesters) {
     ContentHandler.getInstance().removeRequester(requester);
     requester.imageView.setOnClickListener(null);
   }
 }