Skip to content

Instantly share code, notes, and snippets.

@alz-ahm
Last active March 22, 2019 12:33
Show Gist options
  • Save alz-ahm/ecf6ace72c3044cdf475798ef85abddc to your computer and use it in GitHub Desktop.
Save alz-ahm/ecf6ace72c3044cdf475798ef85abddc to your computer and use it in GitHub Desktop.
class LogicHandlingClass {
fun doThis(){
//does something amazing!
}
}
class UserClass {
val logicHandlingClass = LogicHandlingClass()
val myClass = MyClass(logicHandlingClass::doThis)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment