Skip to content

Instantly share code, notes, and snippets.

Avatar

zaeem sattar ZaeemSattar

View GitHub Profile
@ZaeemSattar
ZaeemSattar / VolleyStringRequestJava.java
Created Nov 1, 2016
Through this volley string request you can hit server for String response
View VolleyStringRequestJava.java
private static final int MY_SOCKET_TIMEOUT_MS = 10000;
ProgressDialog ringProgressDialog;
ringProgressDialog = ProgressDialog.show(this, "", "please wait", true);
ringProgressDialog.setCancelable(false);
ringProgressDialog.show();
StringRequest request = new StringRequest(Request.Method.POST, End_Points.CHECK_LEAVES,
new Response.Listener<String>() {
@Override
You can’t perform that action at this time.