code: public void addStateListener(StateListener l) {
          if (mListeners == null) {
              mListeners = new ArrayList<StateListener>();
          }
          if (!mListeners.contains(l)) {
              mListeners.add(l);
          }
      }
docs: add {@link NotificationBoard#StateListener}.
  
  @param l