This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ContactAdapter extends RecyclerView.Adapter<contactAdapter.ContactHolder> { | |
class ContactHolder extends RecyclerView.ViewHolder { | |
private TextView textViewTitle; | |
private TextView numone; | |
private TextView numtwo; | |
private TextView numthree; | |
private TextView numfour; | |
private ImageView imageview1,imageview2,imageview3,imageview4; | |
public ContactHolder(View itemView) { | |
super(itemView); | |
textViewTitle = itemView.findViewById(R.id.text_view_title); | |
numone = itemView.findViewById(R.id.numone); | |
numtwo=itemView.findViewById(R.id.numtwo); | |
numthree=itemView.findViewById(R.id.numthree); | |
numfour=itemView.findViewById(R.id.numone2); | |
imageview1=itemView.findViewById(R.id.phoneiv2); | |
imageview2=itemView.findViewById(R.id.phoneiv); | |
imageview3=itemView.findViewById(R.id.phoneiv1); | |
imageview4=itemView.findViewById(R.id.phoneiv3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment