Though Kotlin has lot of massive features to speedup the development time, here is the simple example of using RecyclerView in Android. In Kotlin we don't need to declare and initialize RecyclerView. We can simply access the id of RecyclerView from xml. Ex : <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.guna.kotlinapplication.MainActivity"> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerView" app:layout_constraintTop_toTopOf="parent" android:layout_width="match_parent" android:layout_...
A plat with simple tutorial for native android developers.