Created
December 15, 2017 12:00
-
-
Save sliskiCode/d7acbc900bb8e3e96db18a4d24116fc8 to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #24
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
class Component : ComponentInterface { | |
private val navigable: Navigable = NavigableImpl() | |
private val searchable: Searchable = SearchableImpl() | |
override val onNavigationClick by ref(navigable::onNavigationClick) | |
override var searchText by ref(searchable::searchText) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment