Usage of Kotlin together with other languages, most notably Java.
I came across with kotlin equals function to compare two list of same type. It works fine for pure Kotlin …
java kotlin kotlin-interopHow can I convert my Kotlin Array to a varargs Java String[]? val angularRoutings = arrayOf<String>("/language", "/home") // …
java kotlin interop kotlin-interopSince Kotlin doesn't have primitives, how could this interface be implemented? public interface A { @NotNull Object get(@NotNull Integer i); @…
java kotlin kotlin-interopAutowiring a non-primitive with spring annotations like @Autowired lateinit var metaDataService: MetaDataService works. But this doesn't work: @Value("\${cacheTimeSeconds}") lateinit …
spring kotlin kotlin-interop kotlin-null-safetyI'd like to access Java's private field when using Kotlin extension function. Suppose I have a Java class ABC. ABC …
kotlin kotlin-extension kotlin-interopIf I have a Kotlin function fun f(cb: (Int) -> Unit) and I want to call f from …
java kotlin kotlin-interopHow to make a property in Kotlin that has a private getter (or just do not have it) but has …
java kotlin kotlin-interopI'm confused by this Kotlin error associated with providing an implementation for an abstract class that has been imported from …
kotlin kotlin-interopI was playing with the kotlin-native samples. I wonder how I could get String from pinned ByteArray. Just want to …
kotlin kotlin-interop kotlin-nativeI'm trying to pass a listener from an action to a class (an adapter). In java (code from the Action): …
kotlin kotlin-interop