I was expecting you to change the code to something like this:
protected void onDestroy() {
super.onDestroy();
mImageFetcher.clearCacheInternal();
mImageFetcher.closeCacheInternal();
}
You will need to change the visibility of clearCacheInternal() and
closeCacheInternal() to public.
BTW, how are you able to test this? I'm not sure how to make onDestroy get
called.
Thanks.
On Friday, April 19, 2013 11:21:40 AM UTC-5, tsioularisa wrote:
>
> No it still doesn't work. In the beginning i put all the ckearCache,
> flushCache and closeCache and the app throw me a Nonresponding message. I
> put the close cache into a asynctask which was faster but it doesn't solve
> the problem. My guess is that the imageviewreference of each imageview
> isn't cleared and also the bitmapworkertask which is responsible for
> downloading and posting the images hasn't finished its previous task.
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.