Create a shared module for cross-platform code
Read moreIs Kotlin good for app development?
Kotlin is better for: Apps that need to maintain platform independence and be cross-compiled for multiple platforms as well as Android . Kotlin can perform these functions while Java cannot due to its use of bytecode which can only compile code for one specific platform at once.
Read more