Skip to content

Commit

Permalink
add httpcache refer
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinea committed Jan 4, 2014
1 parent 06c8ac1 commit 127371c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
<string name="desc_drop_down_listview">下拉刷新及底部加载更多Listview</string>
<string name="desc_image_cache">ImageCache使用</string>
<string name="desc_image_sdcard_cache">ImageSDCardCache使用</string>
<string name="desc_http_cache">HttpCache使用</string>
<string name="desc_default">Trinea</string>
</resources>
1 change: 1 addition & 0 deletions res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
<string name="desc_drop_down_listview">下拉刷新及底部加載更多Listview</string>
<string name="desc_image_cache">ImageCache使用</string>
<string name="desc_image_sdcard_cache">ImageSDCardCache使用</string>
<string name="desc_http_cache">HttpCache使用</string>
<string name="desc_default">Trinea</string>
</resources>
1 change: 1 addition & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@
<string name="desc_drop_down_listview">Drop Down And On Bottom Listview</string>
<string name="desc_image_cache">ImageCache Usage</string>
<string name="desc_image_sdcard_cache">ImageSDCardCache Usage</string>
<string name="desc_http_cache">HttpCache Usage</string>
<string name="desc_default">Trinea</string>
</resources>
4 changes: 4 additions & 0 deletions src/cn/trinea/android/demo/utils/AppUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import cn.trinea.android.demo.BroadcastReceiverDemo;
import cn.trinea.android.demo.DownloadManagerDemo;
import cn.trinea.android.demo.DropDownListViewDemo;
import cn.trinea.android.demo.HttpCacheDemo;
import cn.trinea.android.demo.ImageCacheDemo;
import cn.trinea.android.demo.ImageSDCardCacheDemo;
import cn.trinea.android.demo.R;
Expand Down Expand Up @@ -85,6 +86,9 @@ public static String[] getText(Activity activity, Class sourClass) {
} else if (sourClass == ImageSDCardCacheDemo.class) {
url = "http://www.trinea.cn/android/android-imagesdcardcache/";
contentSrcId = R.string.desc_image_sdcard_cache;
} else if (sourClass == HttpCacheDemo.class) {
url = "http://www.trinea.cn/android/android-http-cache/";
contentSrcId = R.string.desc_http_cache;
} else {
prefixSrcId = R.string.profile;
url = "http://www.trinea.cn";
Expand Down

0 comments on commit 127371c

Please sign in to comment.