Resolved! com.google.gson.internal.LinkedTreeMap cannot be cast to

This post is a quick hack to resolve this issue if any of you facing a similar issue. In the Android application, I am using retrofit2 and okhttp3 to communicate remove services written in PHP and sending JSON data. There is an activity in which I have to show server JSON response in a ListView, but I was facing a strange issue in mapping JSON data to listview BaseAdapter which looks as below

Continue reading Resolved! com.google.gson.internal.LinkedTreeMap cannot be cast to