Hi, Is there any difference between ```val updateT...
# android
a
Hi, Is there any difference between
Copy code
val updateTitle: (updatedTitle: String) -> Unit,
and
val updateTitle: (String) -> Unit,
Both can be called in the same way and lambda can not have named arguments. So curious if there is any difference I am missing out.
x
The IDE will prompt you a parameter name with
updatedTitle
in first case when you invoke
updateTitle()
.
But little else.😄
a
Ok, missed that. So no functional differences.