More Picasso changes

I recently added more changes to my forked version of the Picasso library.

Degree Coursework Help Delay

Added withDelay(long ms) method in the RequestCreator class. Basically it will delay the load of the passed resource by Help In Economics Homework n milliseconds.

1
2
3
4
Picasso.with( context )
   .load( url )
   .withDelay( 100 )
   .into( image );

source site Batch toggle on/off

In the original Picasso code all the “complete” events are dispatched using a batch operation, this means that you can have at the same time 3/4 “complete” events being triggered, which eventually can cause lags in the UI.
In this fork the batch is disabled by default and can be re-enabled by using:

1
2
Picasso.with( context )
   .setUseBatch( true );

Fork or download the source from GitHub:
https://github.com/sephiroth74/picasso

Link the library in your build.gradle:
compile “it.sephiroth.android.library.picasso:picasso:+”