Created
January 8, 2018 18:01
-
-
Save sliskiCode/bec6e4c40bf7ce078793a7adde39f072 to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #31
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
infix fun openSearch(block: SearchToolbar.() -> Unit): SearchToolbar { | |
// Testing framework code | |
return SearchToolbar.apply(block) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment