Skip to content

Instantly share code, notes, and snippets.

View ZaeemSattar's full-sized avatar
🏠
Working from home

Zaeem Sattar ZaeemSattar

🏠
Working from home
  • Synavos
  • Lahore, Pakistan
View GitHub Profile
@ZaeemSattar
ZaeemSattar / VolleyStringRequestJava.java
Created November 1, 2016 12:01
Through this volley string request you can hit server for String response
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