This blog post is written in response to the Top 5 Android libraries every Android developer should know about by Dario Penić. He gave 5 libraries for features that every Java developer, not just Android developers, should import into his/her applications to ease development. However, I want to make some modifications to his list to suit my own and include one or two libraries which others may find more to their styles or needs.
- Gson – Passing information between clients and servers using JSON is kind of the standard now and Gson is just the library to convert Java Objects into their JSON representation.
- Retrofit – If you are dealing with REST API, this library will turn it into a Java interface for calling with parameters filled.
- Otto – I find Otto slightly easier to use than EventBus recommended by Dario and since it is by the developers of Retrofit too, it makes it easier to ask questions as a whole when needed.
- Realm – I list Realm, a database ORM, here even though it is an iOS library is because the developers said they are launching the Android version soon. So for developers building on both platforms, they may not have to learn an additional API.
- Picasso – Even though Dario said that Picasso lacks customisation that Universal Image Loader provides, I don’t find it a deterrent as I don’t think most developers will need that. Besides, Picasso comes from the same developers as Retrofit and Otto and I like my libraries to be from the same family. Makes it easier to deal with them.