Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2017 02:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sprejjs/3dc0bc5b7e4ee1663fdaa9ca511f9e15 to your computer and use it in GitHub Desktop.
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) {
this.nameTextView = (TextView)view
this.mobileTextView = (TextView)view
this.landlineTextView = (TextView)view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment