GeezerVison is showing github.com — Merge remote-tracking branch 'origin/develop' into develop · CodeHunterDev/Android-FilePicker@2364307
File tree
Expand file treeCollapse file tree
Open diff view settings
src/main/java/droidninja/filepicker/utils
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +8-1Lines changed: 8 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,14 @@ A filepicker which allows to select images and videos with flexibility. It also |
12 | 12 |
|
13 | 13 | * As of now, It is only available in jCenter(), So just put this in your app dependencies: |
14 | 14 | ```gradle |
15 | | - implementation 'com.droidninja:filepicker:2.2.2' |
| 15 | + implementation 'com.droidninja:filepicker:2.2.4' |
| 16 | +``` |
| 17 | +There is a method `getFilePath` in `ContentUriUtils` class through you can get the file path from Uri. e.g. |
| 18 | +```java |
| 19 | +ContentUriUtils.INSTANCE.getFilePath(getContext(), uri); |
| 20 | +``` |
| 21 | +```kotlin |
| 22 | +ContentUriUtils.getFilePath(context, uri); |
16 | 23 | ``` |
17 | 24 |
|
18 | 25 | # Note |
|
Collapse file
Copy file name to clipboardExpand all lines: filepicker/build.gradle +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions' |
4 | 4 | apply plugin: 'com.github.dcendents.android-maven' |
5 | 5 | apply plugin: "com.jfrog.bintray" |
6 | 6 |
|
7 | | -version = "2.2.1" |
| 7 | +version = "2.2.3" |
8 | 8 |
|
9 | 9 | android { |
10 | 10 | compileSdkVersion 29 |
|
Collapse file
Copy file name to clipboardExpand all lines: filepicker/src/main/java/droidninja/filepicker/utils/ContentUriUtils.kt -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | package droidninja.filepicker.utils |
2 | 2 |
|
3 | | -import android.annotation.SuppressLint |
4 | 3 | import android.content.ContentUris |
5 | 4 | import android.content.Context |
6 | 5 | import android.net.Uri |
|