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.
我有一个项目,我需要兑现 .json 文件。它的性能将依赖它。
有没有办法在 cocos2d 2.0 中缓存 .json 文件?
是的,将其保存在内存中(以适当的数据结构)或将其保存到文件中并按需加载。
所以我根据我找到的教程创建了一个日历。在我尝试自定义它之前它一直有效。
我想要做的是存储光标信息,private ArrayList<HashMap<String, String>> list;然后将其传递给日历片段,以便在那里显示/隐藏该日期的图像。但是,我在这一部
private ArrayList<HashMap<String, String>> list;