code: @NonNull
      private ScrollListener createScrollViewScrollListener() {
          return new ScrollListener() {
  
              @Override
              public void onScrolled(final boolean scrolledToTop, final boolean scrolledToBottom) {
                  adaptDividerVisibilities(scrolledToTop, scrolledToBottom, true);
              }
  
          };
      }
docs: Creates and returns a listener, which allows to observe when the scroll view, which is
  contained by the dialog, is scrolled.
  
  @return The listener, which has been created, as an instance of the type {@link
  OnScrollChangedListener}. The listener may not be null