Last active
January 22, 2017 14:02
-
-
Save pawegio/dc9d51e0d1779da67c51601065a2e4e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
data class Report(val uuid: String, val name: String, val date: Long) | |
fun loadReport(uuid: String) { | |
api.getReport(uuid) { (_, name, date) -> | |
reportView.text = name | |
dateView.text = formatDate(date) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment