Recyclerview に 2 枚のカードを実装し、2 つのビュー ホルダーも作成しましたが、アダプターのコードを取得できませんでした。
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;
}
}
その他のビューホルダーはそのままです。