How to grab JSON Array and use gson to parse each json object? (Retrofit)

后端 未结 4 1444
忘掉有多难
忘掉有多难 2020-12-30 23:05

I am returning an array of results with my json Objects, and I am trying to use my customObjectResponse class to pull out each of the fields within each of the objects... th

4条回答
  •  无人及你
    2020-12-30 23:39

    I ended up just calling in the callback a list of the customObject and it did the job...

    new Callback>() {
    

提交回复
热议问题