2022 Open Source Wheel Study Notes

2022 Open Source Wheel Study Notes

  1. OKHttp(OKHttp

Summary:
The internal implementation of OkHttp is completed through a chain of responsibility model, which encapsulates each stage of the network request into each chain, and realizes the decoupling of each layer.

References worth looking at:
https://juejin.cn/post/6844904087788453896
https://blog.peasy.com/2016/07/11/Understand-OkHttp/index.html


  1. EventBus (EventBus)

Summary:
An Android event publish/subscribe framework that simplifies Android event delivery by decoupling publishers and subscribers.
Core methods: register, unregister, post, @Subscribe

Reference worth looking at:
https://mp.weixin.qq.com/s?__biz=Mzk0NTAxMDQ0Ng==&mid=2247484106&idx=1&sn=0ae670e83b45a3466c8e66a1fb0d6e49&chksm=c31aa0abf46d29bd049db9874 38251dbabf2ccdb292fa4f51efd1e92ff2c5247dee33b884a46 #rd


  1. Retrofit (Retrofit)

Summary:
A type-safe HTTP client for Android and Java
Network request: OkHttp + Retrofit

Reference worth looking at:
https://blog.peasy.com/2016/06/25/Understand-Retrofit/index.html

Guess you like

Origin blog.csdn.net/adayabetter/article/details/122383993