Hi guys. I think this is a lambda expression righ...
# getting-started
a
Hi guys. I think this is a lambda expression right? Can someone explain to me what is this line of code trying to do?
Copy code
progressButton.setOnClickListener { view -> animateAndDoneFast(view as CircularProgressImageButton) }
I used to code in a way like this.
Copy code
progressButton.setOnClickListener(object: Object {
    ...
})