android unit testing logo

Android Unit testing #1 – Writing a simple Unit Test using Robolectric

Android Unit Testing: Unit Testing is considered as the most professional and disciplined way of writing an elegant code across the software industry. Yet even many developers tend to skip writing unit tests as they are time consuming. When properly written, unit tests provide lots of advantages and helps reduce the build generation times to a great extent in the …

android recyclerview using kotlin

Android RecyclerView using Kotlin

Android Recyclerview is not new to us but Kotlin programming Language is. In fact, we’ve already discussed in our previous article about RecyclerView and CardView Implementation creating a very interesting project “SongBoard” where we’ve created new . In this tutorial of Android RecyclerView using Kotlin, we will be focusing on how to create a RecyclerView and declaring RecyclerAdapter using Kotlin …

android data binding

Android Data Binding Using Kotlin

Introduction: Android Data binding is one of the hot topic among Android developers ever since its first launch in Mid 2015, helping to build the apps faster. This Article explains about the same, Data binding Library concept and how to use it in android using Kotlin. Data Binding not only supports in eliminating boilerplate code but also helps in faster …

how to read file using kotlin

How to Read a File in Kotlin

In this article we will look about how to read a file in Kotlin Programming language, whether it is a text file, or a raw json file, from assets folder of our Android Studio Project. What we are going to achieve: Our intention in this article is simple, to fetch a local json file into a string using Kotlin Programming …

rxandroid tutorial logo

RxAndroid Example – RxAndroid Tutorial #2

In this RxAndroid Example Tutorial, we will continue our previous topic on RxAndroid tutorial‘s Getting started where we discussed about the basics of RxJava 2 and RxAndroid and its uses. Now, we are going to integrate the RxAndroid in our Project and write a simple Android Project which shows how to declare an Observable, Observer and subscribe to the Observable …