scan the included folder after adding on a background thread

This commit is contained in:
tibbi 2017-12-20 19:24:17 +01:00
parent 2d24b4baad
commit 3f88bb8e21
2 changed files with 4 additions and 2 deletions

View file

@ -42,7 +42,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.3.7'
implementation 'com.simplemobiletools:commons:3.3.9'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.9.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.4.0'
implementation 'com.android.support:multidex:1.0.2'

View file

@ -52,7 +52,9 @@ class IncludedFoldersActivity : SimpleActivity(), RefreshRecyclerViewListener {
FilePickerDialog(this, pickFile = false, showHidden = config.shouldShowHidden) {
config.addIncludedFolder(it)
updateIncludedFolders()
Thread {
scanPath(it)
}.start()
}
}
}