Created
August 11, 2017 02:48
-
-
Save sprejjs/42e9412b9e38b86c7a7062c22d3b17d1 to your computer and use it in GitHub Desktop.
Step 8. Override onBindViewHolder method.
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
@Override | |
public void onBindViewHolder(ViewHolder holder, int position) { | |
Contact contact = contacts.get(position); | |
holder.nameTextView.setText(contact.getName()); | |
holder.mobileTextView.setText(contact.getMobile()); | |
holder.landlineTextView.setText(contact.getLandline()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment