Skip to content

Commit 84b6ee9

Browse files
committed
Add RoboSpice
RoboSpice Android异步网络请求工具,支持缓存、REST等等
1 parent 71c35b5 commit 84b6ee9

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

README.md

+21-8
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
583583
<a href="https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC" title="返回目录" style="width:100%"><img src="http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png" align="right"/></a>
584584

585585
#### 三、网络相关
586-
1. Asynchronous Http Client for Android Android异步Http请求
586+
1. Asynchronous Http Client for Android
587+
Android异步Http请求
587588
项目地址:https://github.com/loopj/android-async-http
588589
文档介绍:http://loopj.com/android-async-http/
589590
特点:(1) 在匿名回调中处理请求结果
@@ -594,21 +595,25 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
594595
(6) 支持解析成Json格式
595596
(7) 可将Cookies持久化到SharedPreferences
596597

597-
2. android-query 异步加载,更少代码完成Android加载
598+
1. android-query
599+
异步加载,更少代码完成Android加载
598600
项目地址:https://github.com/androidquery/androidqueryhttps://code.google.com/p/android-query/
599601
文档介绍:https://code.google.com/p/android-query/#Why_AQuery?
600602
Demo地址:https://play.google.com/store/apps/details?id=com.androidquery
601603
特点:https://code.google.com/p/android-query/#Why_AQuery?
602604

603-
3. Async Http Client Java异步Http请求
605+
1. Async Http Client
606+
Java异步Http请求
604607
项目地址:https://github.com/AsyncHttpClient/async-http-client
605608
文档介绍:http://sonatype.github.io/async-http-client/
606609

607-
4. Ion 支持图片、json、http post等异步请求
610+
1. Ion
611+
支持图片、json、http post等异步请求
608612
项目地址:https://github.com/koush/ion
609613
文档介绍:https://github.com/koush/ion#more-examples
610614

611-
5. HttpCache Http缓存
615+
1. HttpCache
616+
Http缓存
612617
项目地址:https://github.com/Trinea/AndroidCommon
613618
Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
614619
文档介绍:http://www.trinea.cn/android/android-http-cache
@@ -618,21 +623,28 @@ Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.dem
618623
(4) 在UI线程外进行http请求
619624
(5) 默认gzip压缩
620625

621-
6. Http Request
626+
1. Http Request
622627
项目地址:https://github.com/kevinsawicki/http-request
623628
文档介绍:https://github.com/kevinsawicki/http-request#examples
624629

625-
7. okhttp square开源的http工具类
630+
1. okhttp
631+
square开源的http工具类
626632
项目地址:https://github.com/square/okhttp
627633
文档介绍:http://square.github.io/okhttp/
628634
特点:(1) 支持SPDY( http://zh.wikipedia.org/wiki/SPDY )协议。SPDY协议是Google开发的基于传输控制协议的应用层协议,通过压缩,多路复用(一个TCP链接传送网页和图片等资源)和优先级来缩短加载时间。
629635
(2) 如果SPDY不可用,利用连接池减少请求延迟
630636
(3) Gzip压缩
631637
(4) Response缓存减少不必要的请求
632638

633-
8. Retrofit RESTFUL API设计
639+
1. Retrofit
640+
RESTFUL API设计
634641
项目地址:https://github.com/square/retrofit
635642
文档介绍:http://square.github.io/retrofit/
643+
644+
1. RoboSpice
645+
Android异步网络请求工具,支持缓存、REST等等
646+
项目地址:https://github.com/stephanenicolas/robospice
647+
Demo地址:https://github.com/stephanenicolas/RoboDemo/downloads
636648
<a href="https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC" title="返回目录" style="width:100%"><img src="http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png" align="right"/></a>
637649

638650
#### 四、数据库 orm工具包
@@ -853,6 +865,7 @@ Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.s
853865
Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo
854866
使用介绍:https://code.google.com/p/android-lockpattern/wiki/QuickUse
855867
示例APP:Android开机的图案密码解锁,支付宝的密码解锁
868+
<a href="https://github.com/Trinea/android-open-project#%E7%9B%AE%E5%89%8D%E5%8C%85%E6%8B%AC" title="返回目录" style="width:100%"><img src="http://farm4.staticflickr.com/3737/12167413134_edcff68e22_o.png" align="right"/></a>
856869

857870
#### 十一、其他
858871
1. Salvage view 带View缓存的Viewpager PagerAdapter,很方便使用

0 commit comments

Comments
 (0)