I'd like to know if it is possible to show more checkboxes in a single row of a listView like this 
[![enter image description here](https://i.stack.imgur.com/xHWbk.jpg)](https://i.stack.imgur.com/xHWbk.jpg)

I had already displayed the question but i don't know how to put there the checkboxes.

I was thinking of using a custom view but the problem is that the number of checkboxes is defined by an array in jsonObject like this and iI don't know how to do it

```
{
    "error": false,
    "question": {
        "idQuestion": "11435",
        "type": "MC",
        "extra": "",
        "fkLanguage": "1",
        "translation": "Electromagnetic radiation (light) holds energy. Which one of the following statements is correct?<\/P>",
        "answer": "",
        "0": [{
            "idAnswer": "49220",
            "score": "0",
            "fkQuestion": "11435",
            "fksub": null,
            "fkAnswer": "49220",
            "fkLanguage": "1",
            "translation": "Infrared radiation is richer in energy than visible radiation."
        }, {
            "idAnswer": "49221",
            "score": "0",
            "fkQuestion": "11435",
            "fksub": null,
            "fkAnswer": "49221",
            "fkLanguage": "1",
            "translation": "Infrared radiation is richer in energy than ultraviolet radiation."
        }, {
            "idAnswer": "49222",
            "score": "0",
            "fkQuestion": "11435",
            "fksub": null,
            "fkAnswer": "49222",
            "fkLanguage": "1",
            "translation": "Visible radiation is richer in energy than ultraviolet radiation."
        }, {
            "idAnswer": "49223",
            "score": "1",
            "fkQuestion": "11435",
            "fksub": null,
            "fkAnswer": "49223",
            "fkLanguage": "1",
            "translation": "Ultraviolet radiation is richer in energy than visible radiation."
        }]
    }
}

```

The checkbox has to display the answer but when I control what checkbox is checked I have to take 'idAnswer' provided in the array