Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / FriendsViewHolder.java
package com.example.nemophila;

import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public class FriendsViewHolder extends RecyclerView.ViewHolder {
    public ImageView iconView;
    public TextView nameView;
    public Button deleteButton;

    public FriendsViewHolder(@NonNull View itemView) {
        super(itemView);
        iconView = itemView.findViewById(R.id.friendIcon);
        nameView = itemView.findViewById(R.id.friendName);
        deleteButton = itemView.findViewById(R.id.friendDelete);
    }
}