Last article we learned about the introduction of RxJava and through an example to learn the presentation of RxJava, I believe you have a preliminary...
Those familiar with RxJava know that onError and onComplete are mutually exclusive. If one of them occurs, the relationship between observer and observed is broken...
The server must support byte-range downloads, that is, range: bytes=xxx-xxx request headers. For details, see Http RFC2616-range. The content-Length response header is used to obtain...
In RxJava, you can easily switch the upstream and downstream specified threads by subscribeOn/observeOn. In daily development, in addition to some common Rx operators, these...
When the server supports breakpoint continuation, several threads can be opened simultaneously to download a file. The maximum number of tasks downloaded at the same...
As the name suggests, it is a thread that distributes download tasks. The thread runs in a DownloadService, which from a business perspective should only...
In our last post in the Rxjava source code series - Infrastructure Analysis, we analyzed the infrastructure of Rxjava. Observables and observers subscribe using the...
There are two kinds of Bluetooth development in Android, one is traditional Bluetooth and the other is low power Bluetooth, they are completely different, you...
Table user uses MyISAM storage engine. MyISAM locks the table before the operation, and then automatically unlocks the table. If the operation is a write...
Uber recently open-source their mobile framework RIBs, which is a cross-platform framework that supports many of Uber's mobile applications. The name RIBs comes from the...
Basic API supplement 1. Incomplete call() method result output in Action1: Call () equals onNext method 2. Filter function (1) Filter (Func1) is used to...
1. What is RxJava? 1.1 What is Responsive programming? Is a programming mode based on the concept of asynchronous data flow (asynchronous data flow programming)...
Design pattern is an idea that can be realized according to specific needs in the application process. RxJava and ListView Adapter both use the Observer...
In addition to flexible transformations, RxJava's other great feature is free control of threads. As mentioned earlier, you can implement thread control by subscribeOn() and...
Without specifying a thread, RxJava follows the thread-invariant principle: the thread on which subscribe() is called produces events; Events are consumed in the thread where...
The most popular android network request framework is RxJava2+Retrofit2+OkHttp3, and Retrofit has been used in previous projects for network requests, which can be easily repackaged....