Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EunoiaC authored May 13, 2021
1 parent 31a24f2 commit 9d2d3ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ https://user-images.githubusercontent.com/68039511/115741726-d87b6080-a344-11eb-

# Implementation

### The latest stable release is `v1.3.10`
### The latest stable release is `v1.4.0`

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


### `setOptionText(int index, String text)`
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.

# MultipleAnswerQuestions
```xml
<com.aadyad.checkboxquestion.Views.MultipleAnswerQuestion
Expand Down Expand Up @@ -507,6 +511,9 @@ Returns a boolean that is true if the selected answers matches the correct answe
### `setCorrectAnswer(ArrayList<Integer> correctAnswer)`
Sets the correct answer of the question.

### `setOptionText(int index, String text)`
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.

# Questions
Questions are an object that allow you to make a QuestionList full of Multiple Choice Questions.
There are 3 constructors for the Question object, which means there are 2 ways to define your Question object
Expand Down

0 comments on commit 9d2d3ad

Please sign in to comment.