Permalink
Browse files

添加支持Bitmap,Drawable,JsonArray的缓存及读取方法。

添加支持Bitmap,Drawable,JsonArray的缓存及读取方法。添加Demo中,Bitmap,Drawable,JsonArray,JsonObject,Object(序列化对象)。修改了部分界面提示信息。
  • Loading branch information...
haoyuexing committed Aug 8, 2013
1 parent 4c300c6 commit ed84ce17fb2e1a13ed4700459737ebee90bc9038
Showing with 2,615 additions and 1,668 deletions.
  1. +2 −2 AsimpleCacheDemo/.classpath
  2. +2 −0 AsimpleCacheDemo/.settings/org.eclipse.core.resources.prefs
  3. +4 −0 AsimpleCacheDemo/.settings/org.eclipse.jdt.core.prefs
  4. +871 −640 AsimpleCacheDemo/ASimpleCache/org/afinal/simplecache/ACache.java
  5. +14 −6 AsimpleCacheDemo/AndroidManifest.xml
  6. +30 −15 AsimpleCacheDemo/gen/com/yangfuhai/asimplecachedemo/R.java
  7. BIN AsimpleCacheDemo/res/drawable/img_test.png
  8. +21 −9 AsimpleCacheDemo/res/layout/activity_main.xml
  9. +22 −24 AsimpleCacheDemo/res/layout/activity_save_bitmap.xml
  10. +46 −0 AsimpleCacheDemo/res/layout/activity_save_drawable.xml
  11. +0 −48 AsimpleCacheDemo/res/layout/activity_save_json.xml
  12. +43 −0 AsimpleCacheDemo/res/layout/activity_save_jsonarray.xml
  13. +43 −0 AsimpleCacheDemo/res/layout/activity_save_jsonobject.xml
  14. +21 −26 AsimpleCacheDemo/res/layout/activity_save_object.xml
  15. +11 −10 AsimpleCacheDemo/res/layout/activity_save_string.xml
  16. +9 −0 AsimpleCacheDemo/res/menu/activity_save_jsonarray.xml
  17. +2 −0 AsimpleCacheDemo/res/values/strings.xml
  18. +1 −2 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/AboutActivity.java
  19. +38 −45 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/MainActivity.java
  20. +82 −50 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveBitmapActivity.java
  21. +81 −0 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveDrawableActivity.java
  22. +0 −50 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveJsonActivity.java
  23. +104 −0 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveJsonArrayActivity.java
  24. +89 −0 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveJsonObjectActivity.java
  25. +85 −50 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveObjectActivity.java
  26. +87 −51 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/SaveStringActivity.java
  27. +36 −0 AsimpleCacheDemo/src/com/yangfuhai/asimplecachedemo/beans/UserBean.java
  28. +871 −640 source/src/org/afinal/simplecache/ACache.java
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="ASimpleCache"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
Oops, something went wrong.

0 comments on commit ed84ce1

Please sign in to comment.