@Override
                    public boolean onPreDraw() {
                        if (_pathView.getHeight() <= 0) {
                            return false;
                        }
                        viewTreeObserver.removeOnPreDrawListener(this);
                        if (_pathView.getParent() instanceof FrameLayout) {
                            param.topMargin = _pathView.getHeight();
                        }
                        _list.setLayoutParams(param);
                        _list.post(() -> _list.setSelection(0));
                        return true;
                    }
allows dialog title follows the current folder name

@param followDir dialog title will follow the changing of directory
@return this
android-file-chooser/src/main/java/com/obsez/android/lib/filechooser/ChooserDialog.java