Skip to content

Commit d732c64

Browse files
authored
Update README.md
1 parent e146bda commit d732c64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ Returns a decimal value of how many answers are correct.
208208
### `getAnswers()`
209209
Returns an Integer ArrayList filled with the selected answers. (1 for option 1, 2 for option 2, 3 for option 3, and 4 for option 4).
210210

211+
### `getQuestion(int index)`
212+
Returns a view that can either be a MultipleChoiceQuestion or YesOrNoQuestion.
213+
211214
# YesOrNoQuestions
212215
YesOrNoQuestions are a simple form of question which show a question with a number, and only allow a yes or no as an answer, while MultipleChoiceQuestions allow [anything](##Options) as an option. To use it in an XML layout just use the following code:
213216
```xml

0 commit comments

Comments
 (0)