Created
June 7, 2016 21:41
-
-
Save biodunalfet/235654c672aa8d502f8a21083c2d86ba to your computer and use it in GitHub Desktop.
This file contains 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 static class ChildViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{ | |
public TextView viewID; | |
public TextView parentID; | |
public TextView text; | |
public ChildViewHolder(View itemView) { | |
super(itemView); | |
viewID = (TextView) itemView.findViewById(R.id.fid); | |
parentID = (TextView) itemView.findViewById(R.id.pid); | |
text = (TextView) itemView.findViewById(R.id.friend); | |
itemView.setOnClickListener(this); | |
} | |
@Override | |
public void onClick(View view) { | |
} | |
} | |
This file contains 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 static class ParentViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{ | |
public TextView viewID; | |
public TextView personNameID; | |
public ParentViewHolder(View itemView) { | |
super(itemView); | |
viewID = (TextView) itemView.findViewById(R.id.skill); | |
personNameID = (TextView) itemView.findViewById(R.id.company); | |
itemView.setOnClickListener(this); | |
} | |
@Override | |
public void onClick(View view) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment