According to the official documentation,
"SAM conversions only work for interfaces, not for abstract classes, even if those also have just a single abstract method."
But I just tried it with an
Abstract Class and it seems to work.
Did I not understand the documentation properly or this is now possible in New Kotlin version? 🤔
https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions