code: @NonNull
      private AbsListView.OnScrollListener createListViewScrollListener() {
          return new AbsListView.OnScrollListener() {
  
              @Override
              public void onScrollStateChanged(final AbsListView view, final int scrollState) {
  
              }
  
              @Override
              public void onScroll(final AbsListView view, final int firstVisibleItem,
                                   final int visibleItemCount, final int totalItemCount) {
                  adaptDividerVisibilities(isListViewScrolledToTop(view),
                          isListViewScrolledToBottom(view), true);
              }
  
          };
      }
docs: Creates and returns a listener, which allows to observe the list view, which is contained by
  the dialog, is scrolled.
  
  @return The listener, which has been created, as an instance of the type {@link
  android.widget.AbsListView.OnScrollListener}. The listener may not be null