|
@@ -1008,17 +1008,18 @@ public class DataParser {
|
|
JSONObject object = Util.xmltoJsonObject(result);
|
|
JSONObject object = Util.xmltoJsonObject(result);
|
|
String res = Util.xmlToJsonString(object);
|
|
String res = Util.xmlToJsonString(object);
|
|
|
|
|
|
|
|
+ Log.e(TAG, "res -- > " + res);
|
|
|
|
+
|
|
ArrayList<HashMap<String, String>> mapArrayList = Util.parseJSON(mContext, res);
|
|
ArrayList<HashMap<String, String>> mapArrayList = Util.parseJSON(mContext, res);
|
|
- ArrayList<HashMap<String, String>> mapArrayList1 = null;
|
|
|
|
|
|
|
|
- for (String key : mapArrayList.get(0).keySet()) {
|
|
|
|
- mapArrayList1 = Util.parseJSON(mContext, mapArrayList.get(0).get(key));
|
|
|
|
|
|
+ if (mapArrayList.get(0).get("ConsentImageVO") != null) {
|
|
|
|
+ mapArrayList = Util.parseJSON(mContext, mapArrayList.get(0).get("ConsentImageVO"));
|
|
}
|
|
}
|
|
|
|
|
|
- if (mapArrayList1 == null && mapArrayList1.size() == 0) {
|
|
|
|
|
|
+ if (mapArrayList == null && mapArrayList.size() == 0) {
|
|
} else {
|
|
} else {
|
|
- for (int i = 0; i < mapArrayList1.size(); i++) {
|
|
|
|
- HashMap<String, String> mm = mapArrayList1.get(i);
|
|
|
|
|
|
+ for (int i = 0; i < mapArrayList.size(); i++) {
|
|
|
|
+ HashMap<String, String> mm = mapArrayList.get(i);
|
|
|
|
|
|
String _consentMstRid = "";
|
|
String _consentMstRid = "";
|
|
String _consentImageRid = "";
|
|
String _consentImageRid = "";
|