You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source-code/app/src/main/java/org/buildmlearn/toolkit/templates/QuizTemplate.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -221,10 +221,9 @@ public void onClick(View v) {
221
221
isValidated = false;
222
222
return;
223
223
}
224
-
225
-
for (inti = 0; i < options.size(); i++) {
226
-
for (intj = 0; j < i; j++) {
227
-
if (!options.get(i).getText().toString().trim().isEmpty() && options.get(i).getText().toString().trim().equalsIgnoreCase(options.get(j).getText().toString().trim())) {
224
+
for(inti=0;i<options.size();i++){
225
+
for(intj=0;j<i;j++){
226
+
if (isValidated && !options.get(i).getText().toString().trim().isEmpty() && options.get(i).getText().toString().trim().equalsIgnoreCase(options.get(j).getText().toString().trim())) {
0 commit comments