Skip to content

Instantly share code, notes, and snippets.

@sujithkanna
Last active June 11, 2017 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sujithkanna/3795815f1885d6c5bfd5e8cf4b50818f to your computer and use it in GitHub Desktop.
Save sujithkanna/3795815f1885d6c5bfd5e8cf4b50818f to your computer and use it in GitHub Desktop.
public static class MenuViewHolder extends RecyclerView.ViewHolder {
public TextView content;
public CardView contentView;
public SliderImageView imageCard;
public MenuViewHolder(View itemView) {
super(itemView);
content = (TextView) itemView.findViewById(R.id.content);
contentView = (CardView) itemView.findViewById(R.id.contentView);
imageCard = (SliderImageView) itemView.findViewById(R.id.sliderImageView);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment