selection sort kotlin

Selection Sort Kotlin with Example – Sorting Algorithms #1

Selection Sort is one of the most important sorting algorithm frequently looked upon and is even asked in the Interviews. In this article we will look at Selection Sort Kotlin Implementation with example. Before diving into the code, let us see what is a Selection sort and Whether its efficient to use or not. What is a Selection Sort Selection sort is …

SQL JOIN – CROSS, INNER, LEFT, RIGHT joins with Examples

SQL JOIN SQL Join is one of the most frequently asked topics asked in interviews. Now a days, database operations are very common while dealing with data storage across web/mobile apps. Either to query a database stored in local(like SQLite) or a remote database (like MySQL), SQL operations help us retrieving the data easily. SQL Join, in particular, helps to …

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 recyclerview and cardview’s implementation and had seen different implementations for Linear, Grid, Staggered Grid and Horizontal implementations of RecyclerView Android. In this tutorial of Android …

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 …

rx android tutorial

RxAndroid Tutorial #1 – Getting started with Reactive Extensions in Android

RxAndroid Tutorial Intro: Reactive extensions usage is the current hottest trend in most programming languages like Java, JavaScript, Swift etc. Rx Android is the reactive extension for Android which is built on top of RxJava with minimum classes addition to it which makes it easier to add for Android Projects. This RxAndroid Tutorial is to help understand the usage of Reactive …

android multi language support

Android Multi Language Support Tutorial With Example

Android is the Most used Mobile Platform across the world. With more than 2 Billion+ active users per month, and a Share of 87.1% market share of the total Mobile Devices used worldwide, Android has a wide range of users from different regions which truely requires the feature of Android Multi Language Support. To reach out to wide range of …

java simpledateformat

Java SimpleDateFormat Example

In Java SimpleDateFormat article we’ll see how to use java.text.SimpleDateFormat class, which provides methods to format date to string or parse string to date. The SimpleDateFormat is a class which inherits java.text.DateFormat class. Creating a SimpleDateFormat Instance: String pattern = “dd-MM-yyyy”; SimpleDateFormat sdf= new SimpleDateFormat(pattern); The pattern String parameter used for parsing and formatting of dates. The Pattern Examples are given at the …