Skip to content

Instantly share code, notes, and snippets.

@sprejjs

sprejjs/step7.java

Created Aug 11, 2017
Embed
What would you like to do?
Step 7. Override onCreateViewHolder method.
@Override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
return new ViewHolder(
LayoutInflater
.from(context)
.inflate(R.layout.contact_item, parent, false)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment