com.squareup.picasso.PicassoTools Java Examples
The following examples show how to use
com.squareup.picasso.PicassoTools.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MainActivity.java From cloudinary_android with MIT License | 5 votes |
@Override public void onDeleteAllLocally() { ResourceRepo.getInstance().clear(); MediaManager.get().cancelAllRequests(); PicassoTools.clearCache(Picasso.get()); for (AbstractPagerFragment fragment : getPages()) { fragment.clearData(); } }
Example #2
Source File: MainActivity.java From Jager with GNU General Public License v3.0 | 4 votes |
@Override public void onDestroy () { mPresenter.onDestroy (); PicassoTools.clearCache (Picasso.with (this)); super.onDestroy (); }
Example #3
Source File: DrawerActivity.java From Jager with GNU General Public License v3.0 | 4 votes |
@Override public void onDestroy () { PicassoTools.clearCache (Picasso.with (this)); super.onDestroy (); }
Example #4
Source File: MizuuApplication.java From Mizuu with Apache License 2.0 | 4 votes |
public static void clearPicassoCache(Context context) { PicassoTools.clearCache(getPicasso(context)); }