Ejemplo n.º 1
0
 public Cancelable requestByPost(String url, Map<String, Object> map) {
   RequestParams params = new RequestParams(url);
   if (null != map) {
     for (Map.Entry<String, Object> entry : map.entrySet()) {
       params.addParameter(entry.getKey(), entry.getValue());
     }
   }
   Cancelable cancelable = x.http().post(params, this);
   return cancelable;
 }