用戶自定義的攔截器應(yīng)用攔截器 在所有攔截器的前面網(wǎng)絡(luò)攔截器 在 RetryAndFollowUpInterceptor、BridgeInterc...
1痢站、OkHttpClient 的創(chuàng)建 通過 Builder 模式設(shè)置OkHttpClient 的參數(shù),比如超時允蜈、dns等冤吨,可以設(shè)置 dns 解決...
項目地址[https://gitee.com/trainAndroid/room] 1、數(shù)據(jù)依賴 2饶套、主要組件 數(shù)據(jù)庫類[https://dev...
moshi[https://github.com/square/moshi] 的使用方法簡介漩蟆,項目地址[https://gitee.com/tr...
1、一階貝塞爾曲線 一階貝塞爾曲線的原理就是一條直線妓蛮,其實就是直接畫了一個Path出來怠李,在這里不做過多的介紹,本文主要介紹的是二階的貝塞爾曲線蛤克。...
Table of Contents generated with DocToc[https://github.com/thlorenz/doc...
Table of Contents generated with DocToc[https://github.com/thlorenz/doc...
1捺癞、介紹 通過實現(xiàn)一個猜詞游戲介紹 ViewModel 和 LiveData參考ViewModel[https://developer.andr...
一.網(wǎng)絡(luò)請求 1、網(wǎng)絡(luò)請求配置 獲取 github 貢獻(xiàn)者的列表 2构挤、線程 execute 阻塞 3髓介、異步 enqueue 回調(diào) 4、協(xié)成加載 ...