developerakshaym021
released this
07 Nov 09:20
·
12 commits
to master
since this release
implementation 'com.github.developerakshaym021:Android-ApiCallMaster:v1.1.2'
"# ApiCall"
Step 3. How use "# ApiCall"
ApiCallBuilder.build(this)
.isShowProgressBar(true)
.setUrl("BaseUrl")
.setParam(getParam())
.setConnectionTimout(TimoutInSeconds) // Now You can also extend a connection timout time...!!
.execute(new ApiCallBuilder.onResponse() {
@Override
public void Success(String response) {
try {
}catch (Exception e){
}
}
@Override
public void Failed(String error) {
}
});
private HashMap<String, String> getParam() {
HashMap<String,String>param=new HashMap<>();
return param;
}