Last active
January 8, 2018 19:48
-
-
Save sliskiCode/737ed9b9880b64a07b5f910077d806d9 to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #27
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
fun navigation(block: NavController.() -> Unit): Unit = NavController.block() | |
object NavController { | |
fun openScreenOne() { | |
// Testing framework code | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment