https://kotlinlang.org logo
#announcements
Title
# announcements
g

gildor

06/29/2017, 10:42 AM
you can use
run
in chain of calls
r

radityagumay

06/30/2017, 4:00 AM
gildor: what do you mean by chain?
g

gildor

06/30/2017, 4:28 AM
Copy code
getFoo()
  .somethinElse()
  .run { makeItBaz(this) }
  .doSomethingWithBuz()
Now try to rewrite it using`when`
r

radityagumay

08/19/2017, 5:36 PM
i got it. thanks
2 Views