Hey guys I'm implementing two cards in an recyclerview and also created two view holder but didn't get the code for adapter help me guys.
public class ViewHolder1 extends RecyclerView.ViewHolder {
private TextView Chatin;
public ViewHolder1(View v) {
super(v);
Chatin = (TextView) v.findViewById(R.id.Chatin);
}
public TextView getChatin() {
return Chatin;
}
public void setChatin(TextView chatin) {
this.Chatin = chatin;
}
}
Other view holder is same as it is.