As I understood through this request, I get the required type from my model, but I apparently missed something. enter image description here

  • 2
    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
  • Updated comments. - Nofate

0