Skip to content

Instantly share code, notes, and snippets.

@gugacavalieri
Created March 24, 2020 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gugacavalieri/ccaf106bacd9e01bc6335772af6ccf27 to your computer and use it in GitHub Desktop.
Save gugacavalieri/ccaf106bacd9e01bc6335772af6ccf27 to your computer and use it in GitHub Desktop.
Kotlin Data Class with Interface
data class HelloVO (val property: String) {
interface IHello {
fun `say hello`()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment