Added Profile Mandate Alert Popup

This commit is contained in:
Jeevan Prasad
2025-07-04 12:40:00 +05:30
parent e68ddd7133
commit a263278382
120 changed files with 5 additions and 544 deletions
@@ -144,6 +144,7 @@ public class DownloadAllDatawithRetro extends ReferenceVariablesForDownloadActiv
} else {
editor.putInt(CommonString.KEY_DOWNLOAD_INDEX, finalJsonIndex[0]);
editor.apply();
Log.d("JSON_DATA",data);
new MyLoader(context, finalKeyName, data).execute();
}
}
@@ -233,16 +234,9 @@ public class DownloadAllDatawithRetro extends ReferenceVariablesForDownloadActiv
assert response.body() != null;
data = response.body().string();
data = data.substring(1, data.length() - 1).replace("\\", "");
if (data.equalsIgnoreCase(CommonString.KEY_SUCCESS)) {
data_global[0] = data;
isvalid = true;
status = 1;
} else {
data_global[0] = data;
isvalid = true;
status = 1;
}
data_global[0] = data;
isvalid = true;
status = 1;
} catch (Exception e) {
e.fillInStackTrace();
isvalid = true;
@@ -310,7 +304,6 @@ public class DownloadAllDatawithRetro extends ReferenceVariablesForDownloadActiv
protected String doInBackground(String... strings) {
//perform heavy task here and finally update the UI with result this way -
try {
//test("Json_data", data);
switch (finalKeyName) {
case "BA_List":
if (!data.contains("No Data")) {
@@ -2091,7 +2084,6 @@ public class DownloadAllDatawithRetro extends ReferenceVariablesForDownloadActiv
break;
case "Mapping_JourneyPlan":
Log.d("JSON_DATA",data);
if (!data.contains("No Data")) {
jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
db.open();