Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只能在扩展 Activity 的类中使用 getCacheDir() 吗?我想在 AsyncTask 中使用它,以便我可以在其中保存时间密集型缓存文件。
谢谢克里斯