Skip to content

Fetch data using web service, Api , supported all method uploading single image, upload multiple image

Notifications You must be signed in to change notification settings

developeramit3/ApiCall

Repository files navigation

Add it in your root build.gradle at the end of repositories:

ApiCall

 allprojects {

	repositories {
	
		maven { 
		url 'https://jitpack.io' 
		}
	}
}
	
Step 2. Add the dependency

dependencies {
       implementation 'com.github.developeramit3:ApiCall:1c3c891913'
}

"# ApiCall"

Step 3. How use

"# ApiCall"

ApiCallBuilder.build(this)
            .isShowProgressBar(true)
            .setParam(getParam())
            .setUrl("url")
            .setFile("image","file_path")
            .execute(new ApiCallBuilder.onResponse() {
                @Override
                public void Success(String response) {

                }

                @Override
                public void Failed(String error) {

                }
            });
							
							
private HashMap<String, String> getParam() {
    HashMap<String,String>param=new HashMap<>();
    return param;
}

"# ApiCall"

About

Fetch data using web service, Api , supported all method uploading single image, upload multiple image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages