class UsersListAdapter.ViewHolder
extends RecyclerView.ViewHolder
Modifier and Type | Field and Description |
---|---|
(package private) android.widget.TextView |
fullName
User 's name |
(package private) android.widget.ImageView |
profilePicture
User 's profile picture |
Constructor and Description |
---|
ViewHolder(android.view.View v)
Initialize instance fields with fields in
v and set the listener for clicks to
open a more detailed view of the profile in ViewProfileActivity |
android.widget.TextView fullName
User
's nameandroid.widget.ImageView profilePicture
User
's profile pictureViewHolder(android.view.View v)
v
and set the listener for clicks to
open a more detailed view of the profile in ViewProfileActivity
v
- View
to use to display the list item