Picasso: A powerful image downloading and caching library for Android

This is the third instalment of my Code More Efficiently series and it is meant for Android developers who deal with loading images in their code. If you have to manage, load, display, or otherwise work with images in your app, you’d agree that the majority of the issues that you face in this area are regarding performance, memory, or both. The solution is often a 3 tier cache: memory > disk > network, but writing such a system is tedious. That’s where Picasso can only help, but excel. Continue reading Picasso: A powerful image downloading and caching library for Android

Butter Knife: View Binding Library for Android

This is the second instalment of my Code More Efficiently series and it directly targets Android programming, specifically dealing with UI and layouts. When I think Android and boilerplate, my thoughts immediately direct towards the UI elements and the ways in which they interact with each other as well as the entities hosting them, namely Activities and Fragments. Butter Knife, an open source library by Jake Wharton, allows the developer to fly past the boilerplate and focus on what matters most: The App! Continue reading Butter Knife: View Binding Library for Android

Lombok: Spice up your Java

This is the first instalment in my Code More Efficiently series. Of all the open source libraries mentioned, I believe Lombok to be the easiest to use. It is almost effortless, which makes it a good starting point. The demo code for this guide is on Github. I also have a few slides for this  guide. Continue reading Lombok: Spice up your Java

Code More Efficiently

Anyone who has developed an application from an early stage will agree that the development process contains a ridiculous amount of boilerplate. If you’re unfamiliar with the term boilerplate, this Wikipedia article could help you get started. Boilerplate is “is the sections of code that have to be included in many places with little or no alteration”. Continue reading Code More Efficiently