Skip to content

Instantly share code, notes, and snippets.

@sliskiCode
Last active January 8, 2018 19:48
Show Gist options
  • Save sliskiCode/737ed9b9880b64a07b5f910077d806d9 to your computer and use it in GitHub Desktop.
Save sliskiCode/737ed9b9880b64a07b5f910077d806d9 to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #27
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