code: private ListenerToken addDatabaseChangeListener(Executor executor, DatabaseChangeListener listener) {
          // NOTE: caller method is synchronized.
          if (dbChangeNotifier == null) {
              dbChangeNotifier = new ChangeNotifier<>();
              registerC4DBObserver();
          }
          return dbChangeNotifier.addChangeListener(executor, listener);
      }
docs: Database changes: