Created
November 9, 2015 12:35
-
-
Save ufukhalis/cf2b15b698d43b92d328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url = getString(R.string.getFilteredJobsList) + KnetGenericClass.getCurrentDate(); | |
KnetNetworkManager.getInstance().getDataFromURL(getString(R.string.getSuitedJobsFilter), | |
null, new JsonHttpResponseHandler() { | |
@Override | |
public void onSuccess(JSONObject response) { | |
if (response != null) { | |
try { | |
response.put("skip", ilanSkipCount); | |
response.put("take", pageSize); | |
StringEntity entity = new StringEntity(response.toString(), "UTF-8"); | |
entity.setContentType(new BasicHeader(HTTP.CONTENT_TYPE, "application/json")); | |
sendIsAraEntityRequest(url, entity); | |
} catch (UnsupportedEncodingException e) { | |
//TODO | |
e.printStackTrace(); | |
} catch (JSONException e) { | |
//TODO | |
e.printStackTrace(); | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment