Android Clean Architecture
Creating the Browse Projects Adapter
Up next
Previous
About
The UI module allows us to implement the user interface of our application for a specific form factor or framework. In this lesson, we're going to be creating the adapter used by our activity to display the list of projects to our user.
Instructor
Links
Comments
With kotlin-android-extensions we can simplify our ViewHolder class:
inner class ViewHolder(view: View): RecyclerView.ViewHolder(view) {
val avatarImage: ImageView = view.imageowneravatar
val ownerName: TextView = view.textownername
val projectName: TextView = view.textprojectname
val bookmarkedImage: ImageView = view.image_bookmarked
}
Thanks for sharing that Artyom! I didn't want to focus too much outside of the topic of the course, so there are definitely some areas where you can utilise kotlin more throughout the project :)
Lessons in Android Clean Architecture















































































