当我把findviewholderAdapter用于获取recyclelerview项目的值时才获取最后一个数组项
for(int i=0;i<list_quali.size();i++) {
Qm = new QModel();
if (recyclerview1.findViewHolderForAdapterPosition(i) != null) {
View vd1 = recyclerview1.findViewHolderForAdapterPosition(i).itemView;
if (!((EditText) vd1.findViewById(R.id.edt_qualification)).getText().toString().equalsIgnoreCase("")) {
Qm.setQualification(((EditText) vd1.findViewById(R.id.edt_qualification)).getText().toString());
Qm.setCertification(((EditText) vd1.findViewById(R.id.edt_spclity_certification)).getText().toString());
Qm.setUserid(user_id);
Qm.setFq_id("12");
list_qual.add(Qm);
}
} else {
}
}