Created
May 31, 2016 14:16
-
-
Save welbesw/09a4c9bb67811f40803a044cbb376b78 to your computer and use it in GitHub Desktop.
Item RecyclerView.ViewHolder
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
/** | |
* A simple view holder to be used for a list of items. To | |
* keep things simple, just one TextView will be used. | |
*/ | |
public class ItemHolder extends RecyclerView.ViewHolder { | |
public TextView mTextView; | |
public ItemHolder(View itemView) { | |
super(itemView); | |
mTextView = (TextView) itemView; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment