D devmobile Active Member Licensed User Aug 22, 2017 #1 I need clear cache for picasso I found below code B4X: package com.squareup.picasso; public class PicassoTools { public static void clearCache (Picasso p) { p.cache.clear(); } } This code clear cache How use it in b4a? This link help you https://stackoverflow.com/questions/32985230/android-clear-image-cache-from-storage/33000919 Last edited: Aug 22, 2017
I need clear cache for picasso I found below code B4X: package com.squareup.picasso; public class PicassoTools { public static void clearCache (Picasso p) { p.cache.clear(); } } This code clear cache How use it in b4a? This link help you https://stackoverflow.com/questions/32985230/android-clear-image-cache-from-storage/33000919
D devmobile Active Member Licensed User Aug 22, 2017 #2 I found invalidate method for remove cache,Solved Use B4X: GetPicasso.RunMethod("invalidate",Array("http://example.com/app/a/1.jpg")) for clear cache or invalidate file again Upvote 0
I found invalidate method for remove cache,Solved Use B4X: GetPicasso.RunMethod("invalidate",Array("http://example.com/app/a/1.jpg")) for clear cache or invalidate file again