https://kotlinlang.org logo
Title
a

amorenew

06/12/2017, 12:41 PM
my interface: interface UrlContentRetrieved { fun onUrlContentRetrieved(content: String) } java code: task.setListener(new UrlContentRetrieved() { @Override public void onUrlContentRetrieved(String content) { parseResults(content); } }); is converted to task.listener = UrlContentRetrieved { content -> parseResults(content) } and i got error Error:(31, 25) Interface UrlContentRetrieved does not have constructors
r

radityagumay

06/12/2017, 11:03 PM
amorenew: this should be acceptable
amorenew: do you place source somewhere? Which version kotlin you used?
a

amorenew

06/13/2017, 7:36 AM
I use 1.2
@radityagumay it's not working
r

radityagumay

06/13/2017, 7:40 AM
let me reproduce it
👏 1
a

amorenew

06/13/2017, 7:42 AM
I posted image of the error
Thank you
r

radityagumay

06/13/2017, 5:46 PM
Your welcome