code: public void setNotificationStatusListener(MFPPushNotificationStatusListener statusListener) {
      this.statusListener = statusListener;
      synchronized (pendingStatus) {
        if(!pendingStatus.isEmpty()) {
          for(Map.Entry<String, MFPPushNotificationStatus> entry : pendingStatus.entrySet()) {
            changeStatus(entry.getKey(), entry.getValue());
          }
          pendingStatus.clear();
        }
      }
    }
docs: Set the listener class to receive the notification status changes.
  
  @param statusListener - Mandatory listener class. When the notification status changes
  {@link MFPPushNotificationStatusListener}.onStatusChange method is called