Setting up Retrofit 2 and running it in Android is easy, but at times it gets trickier when you work in production environment where you’ll be working with backends that use Authorisation Headers, Basic Authentication & SSL enabled API’s. I am a freelance android developer and I’ll be sharing few insights on how to setup these based on my experience.

Logging Interceptor

Retrofit 1 had an inbuilt logging feature which was removed in Retrofit 2 initially, but upon request logging interceptor was added in release 2.6.0.

To add logging interceptor :

  1. In your…

A strong argument to start with, ofcourse we are no longer being watched as it is deemed unnecessary. We give away our information not because we are being asked but because they make us do so. Things changed from being kidnapped in darkness to being hunted in day light just because we walked into a jungle.

That said, I would like to keep this short. From someone in tech who always cared about privacy, here I am sharing my change in perspective over the past 4 years, that happens to point in the same direction unlike Mark Zuckerberg whose perspective…

Functional programming is the present & Its time Android developers experience the happiness of coding.

It’s been a while since Google extended its support to Kotlin and app developers have already started moving to Kotlin. But while we adopt modern programming, its also important that we have a look at why this change is so important and is widely accepted.

Having worked in Android for a year+ now, I would like to take you through this change right from the start to how it is seen from the Android perspective. Here we go!

Functional programming is the key for the change

Akshay Moorthy

Freelance Android Developer | Ex-Software Engineer(Android📱) | Tech Enthusiast🖥 | Inspired by Turing 🎛 | Twitter: @akshay_moorthy |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store