Created
December 4, 2018 16:56
-
-
Save tasaquino/a337f3627e1de96e678d7f947b88e058 to your computer and use it in GitHub Desktop.
ScopingFunctionApplyExternalThisExample
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
error?.apply { | |
Toast.makeText(this@AnyActivity, this.message, Toast.LENGTH_LONG).show() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment