Skip to content

Commit 2364307

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # README.md # filepicker/build.gradle
2 parents 70a20d3 + c30c96a commit 2364307

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ A filepicker which allows to select images and videos with flexibility. It also
1212

1313
* As of now, It is only available in jCenter(), So just put this in your app dependencies:
1414
```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);
1623
```
1724

1825
# Note

filepicker/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions'
44
apply plugin: 'com.github.dcendents.android-maven'
55
apply plugin: "com.jfrog.bintray"
66

7-
version = "2.2.1"
7+
version = "2.2.3"
88

99
android {
1010
compileSdkVersion 29

filepicker/src/main/java/droidninja/filepicker/utils/ContentUriUtils.kt

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package droidninja.filepicker.utils
22

3-
import android.annotation.SuppressLint
43
import android.content.ContentUris
54
import android.content.Context
65
import android.net.Uri

0 commit comments

Comments
 (0)