Can I use getCacheDir () only in a class that increases the activity? I would like to use it in an asynchronous task so that I can save an in-depth cache file at that time.
Thanks Chris
- Pass it to your asyncTask constructor
- Make it a static variable
Comments
Post a Comment