www.xdqh.net > ΪʲôҪʹrEtroFit

ΪʲôҪʹrEtroFit

ʿܾ˴ʹԭʼAsyncTask򵥵ʿܣܳΪܣʹÿԴAndroid-async-http⣬ٵʹgooglevolley⣬һֱиѰҸõĽȻûҵҲ һЩ...

ʿܾ˴ʹԭʼAsyncTask򵥵ʿܣܳΪܣʹÿԴAndroid-async-http⣬ٵʹgooglevolley⣬һֱиѰҸõĽȻûҵҲ һЩ

1.ȶ͵ķؽRetrofitAPIԭӳΪʽclassResult{StringResultMessage;intResultCode;TData;}2.ķ@ʫǰ࣬ŵΪ̬ŵRetroUtilApiExceptionΪԼһ...

ԣretrofit һһЩͳһĴ

RetrofitԶ.Լ̳Interceptorд interceptءȻokhttp addInterceptor

1.ʹretrofitܿһˣǰʹݲʱ@QueryMapע⴫ݣȻ֪Ǻܺãǵʱܵʱ򿴵̫ûлʵʽˣ֮ǰʹ÷ʽͼ 2.оjavąһSSM...

1OkHttpRetrofitXutilsVolley... 2ע⣺ButterKnifeAndroidAnnoationXutils 3ͼƬأGlideImageLoaderPicassoFresco 4RxϵУRxJavaRxAndroidRxBusRxPermissionRxLifecycle Githubк...

» Ҫ ҳ ȫ...volleyһ,rxjavaһjavaı˼,...2016-07-26 rxjavaretrofitʲôô 2 2017-...

վͼ

All rights reserved Powered by www.xdqh.net

copyright ©right 2010-2021
www.xdqh.net磬ַϵͷzhit325@qq.com