How to Handle Two Different Response in Retrofit
问题 I followed this to POST Data Using Retrofit2 I Used JSON POJO to Parse my POST and GET files So Here If Data inside the Records Is there I will get This Kind of Response { "status": "200", "response": [{ "cnt_id": "201", "phn_no": "3251151515", "dat_cnt": "Reset Password request Said to Mail" }, { "cnt_id": "209", "phn_no": "555465484684", "dat_cnt": "Hi DEMO User , Congratulations! Your account has been created successfully." }, { "cnt_id": "210", "phn_no": "4774748", "dat_cnt": "Hi XYZ ,