Step 5. Update the ViewHolder.
public class ViewHolder extends RecyclerView.ViewHolder { | |
private TextView nameTextView; | |
private TextView mobileTextView; | |
private TextView landlineTextView; | |
public ViewHolder(@NonNull View view) { | |
super(view); | |
this.nameTextView = (TextView)view | |
.findViewById(R.id.name_text_view); | |
this.mobileTextView = (TextView)view | |
.findViewById(R.id.mobile_text_view); | |
this.landlineTextView = (TextView)view | |
.findViewById(R.id.landline_text_view); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment