all issues are here please help me to fix this:
private void loadAboutData() {
if (helper.isNetworkAvailable()) {
LoadAbout loadAbout = new LoadAbout(SplashActivity.this, new AboutListener() {
@Override
public void onStart() {
pb.setVisibility(View.VISIBLE);
}
@Override
public void onEnd(String success, String verifyStatus, String message){
pb.setVisibility(View.GONE);
if (success.equals("-1")){
if (!verifyStatus.equals("-1") && !verifyStatus.equals("-2")){
dbHelper.getAbout();
setSaveData();
} else {
errorDialog(getString(R.string.error_unauthorized_access), message);
}
} else {
errorDialog(getString(R.string.error_server), getString(R.string.error_server_not_connected));
}
}
});
loadAbout.execute();
} else {
if (Boolean.TRUE.equals(sharedPref.getIsFirst())) {
errorDialog(getString(R.string.error_internet_not_connected), getString(R.string.error_try_internet_connected));
} else {
try {
dbHelper.getAbout();
setSaveData();
} catch (Exception e) {
e.printStackTrace();
errorDialog(getString(R.string.error_internet_not_connected), getString(R.string.error_try_internet_connected));
}
}
}
}
private void setSaveData() {
new EnvatoProduct(this, this).execute();
}
Post automatically merged: Mar 15, 2024
you have
nulled only server we want also app
nulled