Set name to radioButton instead of checkBox

This commit is contained in:
Cadiducho 2018-02-16 16:12:44 +01:00
parent 2639ad5f48
commit 3e7ced68a6

View File

@ -205,7 +205,7 @@ public class EnrollmentExpandableListAdapter extends BaseExpandableListAdapter {
holder.radioButton.setVisibility(View.GONE);
}
holder.checkBox.setText(groupName);
holder.radioButton.setText(groupName);
holder.checkBox.setChecked(member != 0);
holder.nStudentText.setText(context.getString(R.string.numStudent) + ": " + String.valueOf(students));