Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. @EViewGroup(R.layout.viewholder)
  2. public class FeedViewHolder extends RelativeLayout{
  3.  
  4. @ViewById(R.id.tvName)
  5. TextView tvName;
  6.  
  7.  
  8.  
  9. public FeedViewHolder(Context context, AttributeSet attrs, int defStyleAttr) {
  10. super(context, attrs, defStyleAttr);
  11. // TODO Auto-generated constructor stub
  12. }
  13.  
  14. public FeedViewHolder(Context context, AttributeSet attrs) {
  15. super(context, attrs);
  16. // TODO Auto-generated constructor stub
  17. }
  18.  
  19. public FeedViewHolder(Context context) {
  20. super(context);
  21. // TODO Auto-generated constructor stub
  22. }
  23.  
  24. public void bind(Snap snap){
  25.  
  26. tvName.setText(snap.getVideo());
  27. }
  28.  
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement