Details of XUtils
1, What are XUtils?
Configuration before use
2, XUtils loading pictures
Load network picture
Load Android resource pictures
Load sd card picture
3, XUtils request network
4, Use summary
Added by u01jmg3 on Wed, 20 May 2020 13:51:48 +0300
Hello, you little friends, have met again. Looking back, RxHttp We are about to have our anniversary birthday (launched in April 19). This year, we have come over with sincerity.... Sincerity is not easy. Code maintenance, writing articles, writing documents, etc. are often done after zero o'clock. It is also the first time that I sp ...
Added by Jordi_E on Mon, 20 Apr 2020 19:24:27 +0300
The internal implementation process of OkHttp3 was not considered when it was used before. Today, I will sort out and record it.
Next, I will add the common methods, internal classes and fields in the OkHttpClient class with my own understanding of comments, and understand the main purpose of OkHttpClient by looking at the com ...
Added by nnpdn on Sat, 04 Apr 2020 18:24:50 +0300
For Android App detection of automatic updates
//Ignorable if dependent
Added by trilbyfish on Fri, 06 Mar 2020 18:09:52 +0200
Originally notified to resume work this Monday, it seemed that things were not simple, and it was postponed to next week's 1, but I still had to work from home for some time. Yesterday, some fans asked me why I didn't change my mind. Yesterday, I went to the company in batches for an afternoon meeting. All the people in batches had mas ...
Added by tipjones on Wed, 19 Feb 2020 04:28:06 +0200
1. Thread isolation, service degradation (degradation by the consumer of the service)
When the service is busy, if there is an exception in the service, it is not a rude direct error report, but a friendly prompt will be returned. Although the user's access is denied, a result will be returned.
It's like going to buy fish. Usually the supermark ...
Added by shab620 on Thu, 21 Nov 2019 21:45:39 +0200
Reasonable use of local cache can effectively reduce network overhead and response delay. The HTTP header also defines many cache related domains to control the cache. Let's talk about the implementation details of the cache part in OkHttp today.
HTTP cache policyFirst of all, let's understand the related domains of the cache part in the HTTP p ...
Added by Fog Juice on Mon, 18 Nov 2019 11:58:13 +0200
Basic usage of Okhttp
Okhttp3 Source Parsing (1)-OkHttpClient Analysis
Okhttp3 Source Parsing (2)-Request Analysis
Okhttp3 Source Parsing (3)-Call Analysis (Overall Process)
Okhttp3 Source Parsing (4) - Interceptor and Design Mode
The previous section talks about interceptors and design patterns, and today we talk about RetryAnd ...
Added by Dvorak on Thu, 29 Aug 2019 03:53:51 +0300
Source code analysis
Interface - Interface Layer
Protocol - Protocol Layer
Connection -- Connection Layer
Cache - Cache layer: Managing local caches
I/O-I/O Layer: Realization of Real Data Reading and Writing
Inteceptor - Interce ...
Added by imstupid on Mon, 12 Aug 2019 12:32:45 +0300
#okgo Learning Notes (1): Global Configuration
Role: Note use.Original Detailed Development Document Address: https://github.com/jeasonlzy/okhttp-OkGo/wiki/Init
Typically configured in Aplication or base class, it only needs to be called once
log switch can be configured
Added by oshecho on Mon, 12 Aug 2019 04:59:16 +0300