RecyclerView with Kotlin in Android
Hi, This is my first post in Blog. So lets begin with something new, fun and easy ;) Lets do RecyclerView with Kotlin. 1. Create New Project : First, create a new project in Android Studio with Kotlin support. 2. Design Layouts : Design layout with RecyclerView as below: activity_main.xml <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto"> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerView" ...