https://kotlinlang.org logo
#android
Title
# android
a

androidexpertmanish

11/29/2017, 1:41 PM
Copy code
class YourHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
    private val yourImage: ImageView = itemView.findViewById<ImageView>(R.id.yourImageView)
    private val yourName: TextView = itemView.findViewById(R.id.yourTextView)