Skip to content

How is Kotlin able to call Java 11 code using JDK 1.8?

I was playing around with a Kotlin project which has some Java 11 calls and noticed that it seems to build and run fine using Java 8. The call in particular is to java.lang.String#isBlank(), which was introduced in Java 11. I’m using Gradle to build and run tests. Build JDK is set to JDK 1.8 and Kotlin …

Android Sensor return null?

The Android Java app that I am writing has a simple principle of operation: it reads data from sensors and displays it in a TextView. The first version of the application worked without any problems, but I wanted to improve it and work on the design. I decided to add a slideout side menu and that’s when…