As mentioned here, all the new codes must be written in Kotlin. We need to perform following actions to make the existing codes more efficient and keep them up to date -
We should migrate all existing java codes to Koltin and traditional network operations to Kotlin coroutine.
The migration should be done in an organized manner.
Only a few files should be changed in a single PR. If the file is large, then one file at a time should be migrated.
The files must NOT be converted using the android studio built-in tool. They must be written from scratch.
Many files depend on several small and large files so we should start from smaller ones.
The integrity of static fields and methods between java and Koltin codes should be maintained.
As mentioned here, all the new codes must be written in Kotlin. We need to perform following actions to make the existing codes more efficient and keep them up to date -