-1
Мне просто интересно, есть ли возможность создать список или класс ArrayList в классе Model.ArrayList для класса модели
Следуя приведенным ниже данным, как вы можете видеть, есть УсловиеList для перехода на модельный класс.
{
"Id": 30,
"FirstName": "Lilly",
"LastName": "Fowler",
"KnownName": "Lills",
"GenderId": 14,
"DateOfBirth": "2009-03-18T00:00:00",
"**ConditionList**": [{
"Child_ConditionId": 11,
"Name": "Bee Sting Allergy",
"Treatment": "phone me and softly put the bee sting cream on it and smooth it down.The cream will be in her bag",
"DoctorName": null,
"DoctorContact": null,
"MedicationDescription": null
}],
"CreatedOn": "2015-05-30T19:44:13.2",
"UpdatedOn": "2015-06-04T19:29:01.303",
"ProfileImage": "http://mobile.aimy.co.nz:80/Media/mum_cropped_4fe98f04-f772-4ac0-ba51-d99fbd119e4b.jpeg"
}]
Getting Erro на он должен быть передан как String. Но в любом случае спасибо. @SerializeName ("** ConditionList **") закрытый список conditionList; –