Class UserAdapter.UserViewHolder

java.lang.Object
androidx.recyclerview.widget.RecyclerView.ViewHolder
com.example.iconic_raffleevent.UserAdapter.UserViewHolder
Enclosing class:
UserAdapter

public static class UserAdapter.UserViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder
ViewHolder class for holding the views for each item in the RecyclerView.
  • Field Summary

    Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

    itemView
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserViewHolder(android.view.View itemView)
    Constructs a new UserViewHolder with the specified itemView, initializing references to the profile image and text views for the user's name and email.
  • Method Summary

    Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

    getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UserViewHolder

      public UserViewHolder(@NonNull android.view.View itemView)
      Constructs a new UserViewHolder with the specified itemView, initializing references to the profile image and text views for the user's name and email.
      Parameters:
      itemView - the view of the item in the RecyclerView.