@Override
    public void onDetach() {
        super.onDetach();
        mListener = null;
    }
Hides/Shows appropriate views depending on mode
android/modules/module_filepicker/src/main/java/com/nononsenseapps/filepicker/AbstractFilePickerFragment.java