IDEA reports that your DataAdapter() constructor expects a List<TextNumeric> , and you pass a String .Replace new DataAdapter(jsonResponse.getTitle()) with new DataAdapter(Collections.singletonList(jsonResponse)) - Nofate ♦
Proposed to make the model TextNumeric implements List <TextNumeric> the error disappeared, but for me so something is wrong) - Morozov
DataAdapter()
constructor expects aList<TextNumeric>
, and you pass aString
. Replacenew DataAdapter(jsonResponse.getTitle())
withnew DataAdapter(Collections.singletonList(jsonResponse))
- Nofate ♦