diff --git a/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleAnswerQuestion.java b/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleAnswerQuestion.java index f21b206..8269f35 100644 --- a/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleAnswerQuestion.java +++ b/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleAnswerQuestion.java @@ -514,7 +514,7 @@ public void setCheckedOption(String option){ } } - public void setCheckboxText(int index, String text){ + public void setOptionText(int index, String text){ checkBoxes.get(index).setText(text); } diff --git a/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleChoiceQuestion.java b/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleChoiceQuestion.java index b8073fa..568f861 100644 --- a/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleChoiceQuestion.java +++ b/CheckboxQuestion/CheckboxQuestion/src/main/java/com/aadyad/checkboxquestion/Views/MultipleChoiceQuestion.java @@ -518,7 +518,7 @@ public void setCheckedOption(String option) { } } - public void setCheckboxText(int index, String text){ + public void setOptionText(int index, String text){ checkBoxes.get(index).setText(text); }