Recycler View Android Kotlin
Recycler View Tutorial Create a Android Studio Project : MainActivity.kt import androidx . appcompat . app . AppCompatActivity import android . os . Bundle import android . widget . Button import android . widget . EditText import androidx . recyclerview . widget . LinearLayoutManager import androidx . recyclerview . widget . RecyclerView class MainActivity : AppCompatActivity () { private lateinit var editItem : EditText private lateinit var btnAdd : Button private lateinit var recyclerView : RecyclerView override fun onCreate ( savedInstanceState : Bundle ?) { super . onCreate ( savedInstanceState ) setContentView ( R . layout . activity_main ) } private fun fetchData (): ArrayList < String >{ val list = ArrayList < String >() for ( i in 0 until 100 ){ list . add ( "Item No : $ i " ) } return list } } activity_main.xml <? xml version ="1.0" encoding ="u