想約會的ArrayList膨脹的ListView,我伸手call_detail,但我怎樣才能得到任命陣列retrofit2 gsonConverter
{
"patient":{},
"medicine":[
],
"call_detail":[
{
"created_on":"2016-01-22 06:06:00",
"call_type":"",
"rbs":"10",
"temp":"",
"provisional_diagnosis":"yes",
"follow_up_call_schedule":"",
"follow_up_call_date":"1970-01-01",
"reports":[
],
"medicalreference":[
],
"services_comment":"",
"health_consultation":"",
"appointment":[
{
"doctor_id":"28",
"clinic":"",
"hospital":"Shwe Nyaung Pin specialist ",
"name":"Dr.Nyein Mon Yu",
"app_date":"2016-01-21",
"app_time":"1:00 AM TO 1:00 AM"
}
]
}
],
"status":"true"
}
嘗試我的回答得到任命 –
我使用retrofit2與gsonConverter的陣列詳細... response.body()getCallDetail()我得到call_detail陣列。但我預約數組是在call_detail .. –