Join Slack
Powered by
hi. i have a question about a higher order functio...
# android
b
bodo
06/14/2016, 8:42 AM
hi. i have a question about a higher order function which i want to save in a property. but the property can be null. how should i declare this property?
private var click: (v: View) -> Unit = {}
is this the correct way, because
?
is not working
Open in Slack
Previous
Next