Created
January 29, 2018 07:32
-
-
Save tatuas/fc2cfb9faad91128022bb2a4802592ef to your computer and use it in GitHub Desktop.
Rx
This file contains hidden or 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
.map { | |
val response = "" | |
val path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) | |
.absolutePath + File.separator + "hello_constants.txt" | |
File(path).printWriter().use { out -> | |
out.write(response) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment