Eugene
07/27/2020, 10:37 AMChetan Sachdeva
07/27/2020, 4:07 PMhenrikhorbovyi
07/27/2020, 6:38 PMYashovardhan
07/27/2020, 6:42 PM.INSTANCE
property. Once I even saw a Kotlin file name being appended with Kt when there was no class defined there. (Like ResponseUtilsKt
instead of just ResponseUtils
.
One person in particular I worked with, wrote code in Kotlin without caring for using any of the newer APIs which make it much easier to work with android. This meant he occasionally took more time doing simpler stuff than was needed.
On the other hand, I have seen companies strictly hiring Java developers for android, not having any interest in switching to Kotlin.Joao Birk
07/28/2020, 2:56 AM.INSTANCE
on Java calling Kotlin you can add @JvmStatic
to your method. As for the ResponseUtilsKt
you can add @file:JvmName("ResponseUtils")
at the beginning of the file.Yashovardhan
07/28/2020, 3:16 AMAnaniya
07/28/2020, 2:22 PMbrandonmcansh
07/28/2020, 4:30 PMdeviant
07/31/2020, 10:11 AM