Created
January 29, 2018 07:33
-
-
Save tatuas/5c7cc342771604163990cb48207458a4 to your computer and use it in GitHub Desktop.
RxでString
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
.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