# NoHttpUtil **Repository Path**: wyqqww/NoHttpUtil ## Basic Information - **Project Name**: NoHttpUtil - **Description**: 根据nohttp框架2次封装,使用更加方便,同时借鉴了okhttpUtils的链式样式 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2016-11-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Map params = new HashMap<>(); IRequest.post(this, mUrl, params) .loading(true) .execute(PuBuLiuModel.class, new RequestArrayListener() { @Override public void onSuccess(Response result) { Toast.makeText(MainActivity.this, JsonUtils.string(result.get()), Toast.LENGTH_SHORT).show(); } @Override public void onFailed(int what, Response result) { super.onFailed(what, result); } }); IRequest.get(this, mUrl) .loading(true) .loadingTitle("努力中...") .execute(new RequestListener() { @Override public void onSuccess(Response result) { Toast.makeText(MainActivity.this, "获取成功", Toast.LENGTH_SHORT).show(); } });