In a recent development, a simple Android App which should get data from a REST API, one of the requirements was: Cache API requests for 1 hour. I chose retrofit as my REST Client, and I knew it provided cache mechanisms out of the box (by OkHTTP3). Following this useful tip, it looked like a long hanging fruit (having a […]
android

4 ways the Android Platform changed that can teach us how to be better Engineers
Android changed a lot since its first release, for both users and developers. Some changes were about user interface, others about software architecture and design, but all have a something in common, we can learn a lot about the decisions Google engineers and executives made. Google Play Services There was a rumor about a […]

Thinking dp as centimeters (or inches)
The title may be a little misleading, because in fact dp can’t be thought as a unit of (real world) measurement, it is a unit of measurement! Following the definition of dp (other for designers): Density-independent pixel (dp) A virtual pixel unit that you should use when defining UI layout, to express layout dimensions or position […]