brianwernick
04/28/2017, 2:46 PMpublic void callingMethod(TestInterface interface)
to fun callingMethod(lambda: (string) -> String)
Ruckus
04/28/2017, 2:48 PMfun callingMethod(apply: (String) -> String)
north
04/28/2017, 2:54 PMbrianwernick
04/28/2017, 2:57 PMTestInterface
you can keep the original interface method and create a new one that takes a lambda (for those use cases) which then does the conversion to the Interface method (so you only have 1 path)north
04/28/2017, 3:01 PMbrianwernick
04/28/2017, 3:02 PM