Skip to content

Commit 9d2d3ad

Browse files
authored
Update README.md
1 parent 31a24f2 commit 9d2d3ad

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ https://user-images.githubusercontent.com/68039511/115741726-d87b6080-a344-11eb-
5050

5151
# Implementation
5252

53-
### The latest stable release is `v1.3.10`
53+
### The latest stable release is `v1.4.0`
5454

5555
## For Gradle
5656
In your project level build.gradle first add JitPack:
@@ -412,6 +412,10 @@ Returns a boolean that is true if the selected answer matches the correct answer
412412
### `setCorrectAnswer(int correctAnswer)`
413413
Sets the correct answer of the question.
414414

415+
416+
### `setOptionText(int index, String text)`
417+
Sets the text of an option retrieved by an index. The option is retrieved by the index in the order they can be seen in.
418+
415419
# MultipleAnswerQuestions
416420
```xml
417421
<com.aadyad.checkboxquestion.Views.MultipleAnswerQuestion
@@ -507,6 +511,9 @@ Returns a boolean that is true if the selected answers matches the correct answe
507511
### `setCorrectAnswer(ArrayList<Integer> correctAnswer)`
508512
Sets the correct answer of the question.
509513

514+
### `setOptionText(int index, String text)`
515+
Sets the text of an option retrieved by an index. The option is retrieved by the index in the order they can be seen in.
516+
510517
# Questions
511518
Questions are an object that allow you to make a QuestionList full of Multiple Choice Questions.
512519
There are 3 constructors for the Question object, which means there are 2 ways to define your Question object

0 commit comments

Comments
 (0)