Last active
December 15, 2017 09:43
-
-
Save sliskiCode/e26ba3c5208b928744f2ffb8639b75ae to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #20
This file contains hidden or 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
interface Navigable { | |
val onNavigationClick: (() -> Unit)? | |
} | |
interface Searchable { | |
var searchText: String | |
} | |
class Component(navigable: Navigable, | |
searchable: Searchable) | |
: Navigable by navigable, | |
Searchable by searchable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment