use of com.remswork.project.alice.model.Student in project classify-system by anverliedoit.
the class ExamInputAdapter method onBindViewHolder.
@Override
public void onBindViewHolder(StudentAdapterViewHolder holder, int position) {
count += 1;
Student student = studentList.get(position);
holder.setView(student, position);
Log.i("TESSSSSSSST", "COUNT :" + count + " VALIDATE : " + doValidate);
Log.i("TESSSSSSSST", "SCORE :" + score[position] + "POSITION :" + position + "STUDENT :" + student.getFirstName());
if (doValidate) {
if (score[position] > totalScore || score[position] < 0) {
holder.setStatus(false);
} else {
holder.setStatus(true);
}
}
if (count == studentList.size()) {
doValidate = false;
count = 0;
}
}
use of com.remswork.project.alice.model.Student in project classify-system by anverliedoit.
the class GradeAdapter method onBindViewHolder.
@Override
public void onBindViewHolder(StudentAdapterViewHolder holder, int position) {
Student student = studentList.get(position);
holder.setView(student, position);
}
use of com.remswork.project.alice.model.Student in project classify-system by anverliedoit.
the class AttendanceInputAdapter method onBindViewHolder.
@Override
public void onBindViewHolder(AttendanceViewHolder holder, int position) {
Student student = studentList.get(position);
holder.setView(student, position);
if (doValidate) {
if (holder.getStatus() < 1)
holder.isSuccess(false);
else
holder.isSuccess(true);
} else
holder.markAllAsPresent(isSelectAll);
if (position == studentList.size() - 1)
doValidate = false;
}
use of com.remswork.project.alice.model.Student in project classify-system by anverliedoit.
the class ActivityInputAdapterF method onBindViewHolder.
@Override
public void onBindViewHolder(StudentAdapterViewHolder holder, int position) {
count += 1;
Student student = studentList.get(position);
holder.setView(student, position);
Log.i("TESSSSSSSST", "COUNT :" + count + " VALIDATE : " + doValidate);
Log.i("TESSSSSSSST", "SCORE :" + score[position] + "POSITION :" + position + "STUDENT :" + student.getFirstName());
if (doValidate) {
if (score[position] > totalScore || score[position] < 0) {
holder.setStatus(false);
} else {
holder.setStatus(true);
}
}
if (count == studentList.size()) {
doValidate = false;
count = 0;
}
}
use of com.remswork.project.alice.model.Student in project classify-system by anverliedoit.
the class QuizInputAdapterF method onBindViewHolder.
@Override
public void onBindViewHolder(StudentAdapterViewHolder holder, int position) {
count += 1;
Student student = studentList.get(position);
holder.setView(student, position);
Log.i("TESSSSSSSST", "COUNT :" + count + " VALIDATE : " + doValidate);
Log.i("TESSSSSSSST", "SCORE :" + score[position] + "POSITION :" + position + "STUDENT :" + student.getFirstName());
if (doValidate) {
if (score[position] > totalScore || score[position] < 0) {
holder.setStatus(false);
} else {
holder.setStatus(true);
}
}
if (count == studentList.size()) {
doValidate = false;
count = 0;
}
}
Aggregations