if (returnStr != null) {
System.out.println(returnStr);
Log.i("Get_line_All", returnStr.toString());
Gson gson = new Gson();
BaseEntity<List<ProductEntity>> busRoutes = gson
.fromJson(
returnStr,
new TypeToken<BaseEntity<List<ProductEntity>>>() {
}.getType());
Log.i("busRoutes", busRoutes.toString());
mData.addAll(busRoutes.getValue());
System.out.println(returnStr);
Log.i("Get_line_All", returnStr.toString());
Gson gson = new Gson();
BaseEntity<List<ProductEntity>> busRoutes = gson
.fromJson(
returnStr,
new TypeToken<BaseEntity<List<ProductEntity>>>() {
}.getType());
Log.i("busRoutes", busRoutes.toString());
mData.addAll(busRoutes.getValue());


