Skip to content

Instantly share code, notes, and snippets.

@sprejjs

sprejjs/step8.java

Created Aug 11, 2017
Embed
What would you like to do?
Step 8. Override onBindViewHolder method.
@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
You can’t perform that action at this time.