use of com.remswork.project.alice.model.Student in project classify-system by anverliedoit.
the class ExamInputAdapterF 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 ProjectInputAdapter 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 ProjectInputAdapterF 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 QuizInputAdapter 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 StudentAdapter2 method onBindViewHolder.
@Override
public void onBindViewHolder(StudentAdapterViewHolder holder, int position) {
count += 1;
Student student = studentList.get(position);
holder.setView(student, position);
if (doValidate) {
if (holder.getScore() > totalScore || holder.getScore() < 0) {
holder.setStatus(false);
} else {
holder.setStatus(true);
}
}
if (count == studentList.size()) {
doValidate = false;
count = 0;
}
}
Aggregations