Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 478 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 478 Bytes

KotlinRecyclerView

In this project I have covered how to make the model class & custom adapter for RecyclerView using kotlin.

Model Class

In kotlin to create the model class use the data class it's same as the pojo class in java. But the advantage is that you have to create the model class just by using the single line & it will work like the java pojo getter/setter methods.

      data class UserData(val item: Strings, val name: String, val address: String)