Created
December 20, 2014 23:59
-
-
Save bperin/b5cc598fc234398fb57e to your computer and use it in GitHub Desktop.
generic view holder
This file contains hidden or 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
public class MyViewHolder extends RecyclerView.ViewHolder{ | |
private View view; | |
public MyViewHolder(View itemView) { | |
super(itemView); | |
this.view = itemView; | |
} | |
public View getView(){ | |
return view; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment