From 31a24f2ea1754dc00c5e57d3dd17174762e4359a Mon Sep 17 00:00:00 2001 From: AadiYadav <68039511+Cyber-cp@users.noreply.github.com> Date: Thu, 13 May 2021 11:47:32 -0700 Subject: [PATCH] Refactored method name --- .../aadyad/checkboxquestion/Views/MultipleAnswerQuestion.java | 2 +- .../aadyad/checkboxquestion/Views/MultipleChoiceQuestion.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }