mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
update filepicker to 1.3.0
This commit is contained in:
@ -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.1.0@aar'
|
compile 'com.simplemobiletools:filepicker:1.3.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'
|
||||||
|
@ -78,7 +78,7 @@ public class MainActivity extends SimpleActivity implements ItemsFragment.ItemIn
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void openPath(String path) {
|
private void openPath(String path) {
|
||||||
mBreadcrumbs.setBreadcrumb(path, mConfig.getShowFullPath());
|
mBreadcrumbs.setBreadcrumb(path, Environment.getExternalStorageDirectory().toString());
|
||||||
final Bundle bundle = new Bundle();
|
final Bundle bundle = new Bundle();
|
||||||
bundle.putString(Constants.PATH, path);
|
bundle.putString(Constants.PATH, path);
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ public class MainActivity extends SimpleActivity implements ItemsFragment.ItemIn
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mBreadcrumbs.removeBreadcrumb();
|
mBreadcrumbs.removeBreadcrumb();
|
||||||
final FileDirItem item = (FileDirItem) mBreadcrumbs.getChildAt(mBreadcrumbs.getChildCount() - 1).getTag();
|
final FileDirItem item = mBreadcrumbs.getLastItem();
|
||||||
openPath(item.getPath());
|
openPath(item.getPath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user