We’ve all been there: you have an app with outdated technology, and you know you should update it. But the legacy code is complicated and opaque, and due to support issues, you can’t just use the new library in the straightforward way the code samples show it. But perf gains and code clarity are on the line, so you need to find a way to make it work.
Well, you’re in luck! This talk is for you, person who’s trying to make it work. Drawing from examples encountered with Pinterest’s own transition to Retrofit, we’ll explore ways to retrofit Retrofit onto an existing networking layer while balancing the interests of hundreds of millions of users relying on a performant app. Ranging from big wins to unsightly mistakes, this tour will be both a cringeworthy and infinitely practical look at what happens when you can’t start from scratch.