File tree Expand file tree Collapse file tree
src/main/kotlin/io/lakscastro/sharedstorage/storageaccessframework/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88.buildlog/
99.history
1010.svn/
11+ .github/
1112
1213# IntelliJ related
1314*.iml
1617.idea/
1718*/**/local.properties
1819loca.properties
19- # The .vscode folder contains launch configuration and tasks you configure in
20- # VS Code which you may wish to be included in version control, so this line
21- # is commented out by default.
22- #.vscode/
20+ .vscode/
21+ .site/
2322
2423*/**/.metadata
2524.metadata
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ buildscript {
66 repositories {
77 google()
88 jcenter()
9+ maven { url " https://oss.sonatype.org/content/repositories/snapshots" }
910 }
1011
1112 dependencies {
@@ -44,4 +45,9 @@ dependencies {
4445 * computation and queries outside the Main (UI) Thread
4546 */
4647 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"
48+
49+ /**
50+ * `SimpleStorage` library
51+ */
52+ implementation " com.anggrayudi:storage:1.3.0"
4753}
Original file line number Diff line number Diff line change @@ -8,12 +8,14 @@ import android.os.Build
88import android.provider.DocumentsContract
99import android.util.Base64
1010import androidx.annotation.RequiresApi
11+ import androidx.annotation.RestrictTo
1112import androidx.documentfile.provider.DocumentFile
1213import io.lakscastro.sharedstorage.plugin.API_19
1314import io.lakscastro.sharedstorage.plugin.API_21
1415import io.lakscastro.sharedstorage.plugin.API_24
1516import java.io.ByteArrayOutputStream
1617import java.io.Closeable
18+ import java.io.File
1719
1820/* *
1921 * Helper class to make more easy to handle callbacks using Kotlin syntax
You can’t perform that action at this time.
0 commit comments