Skip to content

Instantly share code, notes, and snippets.

@illuzor

illuzor/WallpaperFragment.kt Secret

Last active Sep 28, 2018
Embed
What would you like to do?
private val SHARING_REQUEST_CODE = 1
private val SETTING_REQUEST_CODE = 2
private val PROVIDER_AUTHORITY = "com.illuzor.lesson.wallpapers.SHARE_WALLPAPER"
private val imageFileUri by lazy { FileProvider.getUriForFile(activity!!, PROVIDER_AUTHORITY, imageFile) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment