Bri Manning

Translating Type Android App to Kotlin

September 20, 2017

I mentioned I’m in love with Kotlin. That meant it was only time to update the Type Android app to use Kotlin. The transition took around 30 minutes, with another 30 minutes to clean things up.

The biggest issue was that it looks like Butterknife has some issues when automatically updating to Kotlin. That’s not a big deal since I was just going use Kotlin android extensions anyway. A quick changeout of that and some quick cleanup of the !! that the automatic update likes to use and I was good to go. I ended up losing around 100 lines of code. Not as much as I expected, but it is more concise.

I won’t release an update until I have some real features to add, but this is a step in the right direction. Now that the summer is slowing down, I think I’ll be able to do those updates.