Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @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());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement