Created
June 4, 2018 03:16
-
-
Save ashwin-sp/e8cc685bade0388826ea029e024bafe2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
companion object { | |
fun getUri(context: Context, path: String): Uri { | |
return Uri.Builder() | |
.scheme(ContentResolver.SCHEME_CONTENT) | |
.authority(context.packageName) | |
.appendPath(path) | |
.build() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment