updating filepicker to 1.1.0

This commit is contained in:
tibbi 2016-10-28 20:16:40 +02:00
parent d3666b13e7
commit 5be76578a4
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ dependencies {
compile 'com.android.support:design:23.4.0' compile 'com.android.support:design:23.4.0'
compile 'com.jakewharton:butterknife:8.0.1' compile 'com.jakewharton:butterknife:8.0.1'
compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.simplemobiletools:filepicker:1.0.0@aar' compile 'com.simplemobiletools:filepicker:1.1.0@aar'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
apt 'com.jakewharton:butterknife-compiler:8.0.1' apt 'com.jakewharton:butterknife-compiler:8.0.1'

View File

@ -38,7 +38,7 @@ import com.simplemobiletools.filemanager.Utils;
import com.simplemobiletools.filemanager.adapters.ItemsAdapter; import com.simplemobiletools.filemanager.adapters.ItemsAdapter;
import com.simplemobiletools.filemanager.asynctasks.CopyTask; import com.simplemobiletools.filemanager.asynctasks.CopyTask;
import com.simplemobiletools.filemanager.dialogs.PropertiesDialog; import com.simplemobiletools.filemanager.dialogs.PropertiesDialog;
import com.simplemobiletools.filepicker.dialogs.PickFolderDialog; import com.simplemobiletools.filepicker.dialogs.FilePickerDialog;
import com.simplemobiletools.filepicker.models.FileDirItem; import com.simplemobiletools.filepicker.models.FileDirItem;
import java.io.File; import java.io.File;
@ -579,9 +579,9 @@ public class ItemsFragment extends android.support.v4.app.Fragment
public void onClick(final View view) { public void onClick(final View view) {
final boolean showHiddenItems = mConfig.getShowHidden(); final boolean showHiddenItems = mConfig.getShowHidden();
final boolean showFullPath = mConfig.getShowFullPath(); final boolean showFullPath = mConfig.getShowFullPath();
new PickFolderDialog(getContext(), mCopyDestinationPath, showHiddenItems, showFullPath, new PickFolderDialog.OnPickFolderListener() { new FilePickerDialog(getContext(), mCopyDestinationPath, false, showHiddenItems, showFullPath, new FilePickerDialog.OnFilePickerListener() {
@Override @Override
public void onFail(PickFolderDialog.PickFolderResult pickFolderResult) { public void onFail(FilePickerDialog.FilePickerResult pickFolderResult) {
} }