Created
December 20, 2014 00:17
-
-
Save bperin/4febf3b16f78157c2a0e to your computer and use it in GitHub Desktop.
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
@EViewGroup(R.layout.viewholder) | |
public class FeedViewHolder extends RelativeLayout{ | |
@ViewById(R.id.tvName) | |
TextView tvName; | |
public FeedViewHolder(Context context, AttributeSet attrs, int defStyleAttr) { | |
super(context, attrs, defStyleAttr); | |
// TODO Auto-generated constructor stub | |
} | |
public FeedViewHolder(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
// TODO Auto-generated constructor stub | |
} | |
public FeedViewHolder(Context context) { | |
super(context); | |
// TODO Auto-generated constructor stub | |
} | |
public void bind(Snap snap){ | |
tvName.setText(snap.getVideo()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment