Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save damiandragowski/fa34ab100d0a2b4d8a334d98639b71e7 to your computer and use it in GitHub Desktop.
Save damiandragowski/fa34ab100d0a2b4d8a334d98639b71e7 to your computer and use it in GitHub Desktop.
tracking properties changes
tracking age properteis, by passing list to it
var age : Int by Delegates.observable({
historyList.add(0)
0
}()) {
property, oldVal, newVal -> historyList.add(newVal)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment