So, Google I/O just ended. And like every year, it showed great promises and awesome stuff.
One of the biggest announcement was the introduction of Kotlin as an Official Language for Android. This announcement received the biggest applause from the audience at the I/O. It was really a reason to be happy! Now we have Three languages we can use while making Android Apps.

  • Java
  • C++ with the Android NDK. And now
  • Kotlin!

“It is a brilliantly designed mature language that can make Android Development Faster and more fun”

Kotlin is a statically typed programming language. As Google describes it, it’s a brilliantly designed language, and will make Android development faster and more fun.  Kotlin is compiled to JVM bytecode, so you can not only use it for your android projects, but also, any java projects you want. Classes written in Java are accessible in Kotlin without any additional code or wrapper, and vice-versa! This interoperation is a huge part of Kotlin’s appeal to the Android Team, and personally to me as well!

Read More

So, As a an Android Developer, with the new Material Design, I tend to often run into the RecyclerView. It’s awesome! We can use any kind of views inside it, and it works beautifully! Those CardViews are such great eye-candy, and the RecyclerView make them fun and flexible to use. But, coming from using the standard ListView, I saw a problem. There’s no inbuilt way to just set the EmptyView in RecyclerView in case the list is empty. Every time I created a RecyclerView, no matter how small the application, The activity code would contain a huge amount of lines altering (read, changing visibility of) the different views according to the situation (Empty List, Error while making network call, Loading from the network etc.). The XML was not much different either. Too much code, too little accomplished. I always wanted a fix for it. So I created one.


Read More