Re:Android KTX: Kotlin Development for Android
by jontro on Monday February 05, 2018 @04:48PM
(#16312539)
Hopefully just a couple of simple global search and replaces?
Anyways I think the current support library structure is confusing and it's a good thing that they will refactor it.
Re:Android KTX: Kotlin Development for Android
by izacus on Monday February 05, 2018 @05:20PM
(#16312783)
Android Studio handles that pretty well and it'll probably fix most of those in a single "Optimize imports" pass.
Re:Android KTX: Kotlin Development for Android
by on_and_off on Monday February 05, 2018 @05:22PM
(#16312792)
Absolutely, it sounds like something that tools can handle for us or that would not take long to change even on a large codebase anyway (because you would just do a pattern replace)
Re:Android KTX: Kotlin Development for Android
by mncolinlee on Monday February 05, 2018 @09:51PM
(#16314096)
It's worth noting that one of the great features of Kotlin is how it simplifies deprecating code and writing quick fixes. This is why Google scrapped Java for writing Lint rules entirely. I expect a simple Option-Enter may resolve these kinds of issues across an app.
https://www.youtube.com/watch?v=p8yX5-lPS6o&list=PLQ176FUIyI...
Ugh, okay. It's going to be a blast refactoring all my existing code and custom tools to reference this new package.