mbmc.net
ǰλãҳ >> ΪʲôҪʹrEtroFit >>

ΪʲôҪʹrEtroFit

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

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

ԣretrofit һһЩͳһĴ

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

о˼ԴܵʹãRetrofit󣩣RxJava첽GreenDAOݿFrescoͼƬأEventBus¼ͨţButterKnifeԴ󶨣ЩǿгõĿܣǣMVPģʽ...

վҳ | վͼ
All rights reserved Powered by www.mbmc.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com