Last active
May 17, 2018 13:50
-
-
Save HugoMatilla/24494575aab562b0b46c5ba37522795c to your computer and use it in GitHub Desktop.
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
abstract class Widget { | |
abstract fun draw() // open and must be overridden | |
open fun focus() {} // can be overridden | |
fun hide() {} // final by deafult, can't be overridden | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment