Closed cwdoh closed 7 years ago
공식사이트문서 아래쪽을 보면 이렇게 기술되어 있네요.
Also note that this feature works only for Java interop; since Kotlin has proper function types, automatic conversion of functions into implementations of Kotlin interfaces is unnecessary and therefore unsupported.
@tonyjs 어제 이슈가 이것이었나요. 어제 정상 컨디션이 아니라서 기억이...;;;
@cwdoh Kotlin 으로 만든 interface 는 lambda 가 적용이 안되고
object : Listener {
override ...
이런식으로 써야하는 반면 Java 는 labmda 가 적용이 안되는 것인가? 아니었나요??ㅜㅜ
@tonyjs 그랬던 것 같네요! :)
우선 호출하는곳이 Fragment에서 activity의 메소드를 직접부르는것이라서 더 안되는 문제일듯해요