Last active
November 14, 2019 08:57
-
-
Save NsAveek/f38d82d125ea1855e1df4efa2ee24c91 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
activity.setResult(Activity.RESULT_OK, Intent().apply { // this:intent | |
putExtra("response", true) | |
putExtra("message", "success") | |
putExtra("result", "ok") | |
}) | |
activity.setResult(Activity.RESULT_OK, Intent().also { // it:intent | |
it.putExtra("response", true) | |
it.putExtra("message", "success") | |
it.putExtra("result", "ok") | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment