Use Retrofit & Gson in Android With Kotlin

In this tutorial we will learn, How to Use Retrofit Library With Gson Android using Kotlin.Want to make your HTTP calls faster and smoother use retrofit. Volley is also good http calls library. What Is Retrofit? Retrofit is library which converts your HTTP API into a Java Interface. It’s a best practice to use retrofit library to your android application. How To Use Retrofit With Kotlin? steps are given below. Step 1.  Create  a new Android Studio project or File | New project  If you dont aware much with Kotlin…

Android Productflavors in gradle Configure Build Variant

Android Productflavors in gradle Configure Build Variants

What is Productflavors? Productflavors is very good Feature of gradle system.Productflavors helps you to build variant Application. Each build variant represents a different version of your app that you can build. For example, you might want to build one version of your app that’s Bronze, with a limited set of content, and another Silver which is small paid version that includes more.Gold which contents full content and functionality, and You can also build different versions of your app that target different devices, based on API level or other device variations.…

Building List and Grid Layout With RecyclerView in Android using Java

Grid To List RecylerView

What Is Recycler View? In this post, We build List and Grid With RecyclerView. In Older way we were use ListView (Verticle & Horizontal) and GridView. But Material Design as google suggested we have to start Using RecyclerView. Advantage of RecyclerView is we can create list and grid by changing it’s LayoutManager Property.     Let’s understand RecyclerView With Movie List Example then we show movie list in KeyPoints of RecyclerView RecyclerView Adapter LayoutManager ItemDecoration  RecyclerView Adapter RecyclerView Adapter is Similar to BaseAdapter that  Use in ListView Or GridView But RecyclerViewAdapter is…

Two Way DataBinding With Kotlin & Java In Android

Two Way Data Binding Android Teachers

In previous post, I’ve explained Data Binding With Kotlin & Data Binding with Fragment  that example of one way data binding. You bind model and view will display data as per model values but suppose your data changes frequently then Two Way DataBinding will help you to update views when data update. BaseObservable class will help  to update views as well. Let’s Take Example For Login Screen where we need to validate User id. – User id length 8 digit We have bind out Data Model or POJO class with XML…

kotlin Data Binding in Android

kotlin data binding

What is Data Binding? Data Binding is very good coding pattern for minimizing application source.here we will learn kotlin data binding in android. it gives you a facility to communicates between your view and model. It keeps code clean and sort. Hello friends, in this tutorial I will explain Data binding android with kotlin. if you are new for kotlin then please refer post Get started with kotlin, Basics of Kotlin & Kotlin Operations Assume that you are aware of mobile development. let’s started with the tutorial Kotlin Data Binding in…

Basics of Kotlin

Basics of Kotlin Android Teachers

Basics Of Kotlin android like Variables, Class, Interface & Inheritance. How to declare class & variables and assignment of values to it. This is what we going to learn in this post. learn below terms in the context of Kotlin In Previous tutorial we have made sample application with android studio 3.0 you can check out my post Get Started with Kotlin on Android. in this tutorial we will learn some basics of kotlin. let’s started Basics Of Kotlin Variables Classes in Kotlin (Declaration & Constructor ) Interface Inheritance Making…