Adding an ImageView to a RecyclerView (Android Studio 2019 Edition, Part 17)
So we’ve been creating this RecyclerView in Kotlin with Android Studio, but all of the images in the ImageView have the same photo. In this tutorial, let’s give each user a unique photo. We’ll add a photo to our Kotlin data class, then we’ll open MainActivity and add a photo to each user. Then we’ll wire up the RecyclerView to use a photo for each user. Ready? Let’s begin!
Connect with me on LinkedIn! https://linkedin.com/in/danielmalone
Views :7790
android studio