Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Volley Request Manager - Lite

You can find article here

// init component for request processing
RequestManager.initializeWith(getApplicationContext());

// create request
Request request = new JsonObjectRequest(
        Request.Method.GET,
        "request url here",
        null,
        mListener,
        mErrorListener);
        
// process request with default queue      
RequestManager.queue().add(request);
// init component for image loading
ImageManager.initializeWith(getApplicationContext());

// load image with default ImageLoader
ImageManager.loader().get(
        "http://farm6.staticflickr.com/5475/10375875123_75ce3080c6_b.jpg",
        mImageListener);
        
// load image with NetworkImageView
NetworkImageView view = new NetworkImageView(context);

view.setImageUrl(
        "http://farm6.staticflickr.com/5475/10375875123_75ce3080c6_b.jpg",
        ImageManager.loader()); // to use default ImageLoader

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages