Tag:Transfer data
-
Time:2021-3-6
catalog:Source code analysis of Android jar / Library Bolts: effect: It is used to chain execute cross thread code and transfer data Chestnut: Task.call(new Callable() { @Override public Boolean call() throws Exception { return true; } }, Task.UI_THREAD_EXECUTOR); Task.callInBackground(new Callable() { @Override public Boolean call() throws Exception { return false; } }); Task.callInBackground(new Callable() { […]
-
Time:2021-2-24
Before TCP starts to transmit data, the client and server need torandomGenerate their own initial sequence number (ISN), and then exchange confirmation through three handshakes. Question: why is the ISN random? Consider the scenario, B is the server, a is a legal client, C counterfeits a (such as analog IP) to communicate with B. Because […]
-
Time:2021-1-15
Note: for the sake of brevity, this article only deals with some key codes and structures. Recommended download source code, see the detailed implementation. 1.1 INTRODUCTION Part 1 completes the “handshake”, Part 2 completes the “heartbeat” information, Part 3 loads the matching file, and Part 4 completes the operation of the local database. Next, we […]
-
Time:2020-12-30
1、 The concept of communication between components Before we start, let’sCommunication between componentsThe word is split assembly signal communication We all know that components arevueOne of the most powerful features,vueEvery one of them.vueWe can all think of it as a component Communication means that the sender transmits information to the receiver in a certain format […]
-
Time:2020-12-24
If you want to reprint, please indicate the source:Flutter learning notes (34) — the use of eventbus In Android, we often use eventbus to communicate. The commonly used scenario is that different pages are used to transfer data. In flutter, we can also use eventbus to transfer data between different pages. Eventbus is an event […]
-
Time:2020-12-11
1、 Implicit intent 1. How to configure AndroidManifest.xml to configureintent-filtercontent Response actioncom.example.activitytest.ACTION_STARTAnd respond to category stayFirstActivity.javaSet intent Each intent can only specify one action, but multiple categories can be specified (1) Intent constructor with intent (string action)_ name)(2) We also use the member method addcategory (string category)_ name) 2. Implicit intent can start the activities […]
-
Time:2020-11-9
background Using wxpusher wechat push service, you can timely send some abnormal operation information of the service to your own wechat, so as to understand the running status of the service (PS: this service is free). You can see the access description document of wxpusher wechat push service here:https://wxpusher.zjiecode.com/docs/ You can experience its functions here:https://wxpusher.zjiecode.com/demo […]
-
Time:2020-11-3
Today’s knowledge points (March 11, 2020) 22. What are the kernel of the browser? 23. What is elegant degradation and progressive enhancement? 24. The difference between sessionstorage, localstorage and cookie 25. What is the array map() method 26. Simple understanding of promise 27. Steps to enter URL from browser address bar to display page 28. […]
-
Time:2020-10-6
In the learning of Vue, the communication between Vue components has to be understood. In the actual development, it is also very commonly used. So here I summarize six ways of communication of Vue components, hoping to help partners understand the communication between Vue components better and faster Component relationship description From the above figure, […]
-
Time:2020-9-29
What are the communication methods between Vue components (SSS) Common usage scenarios can be divided into three categories: Parent child communication: nullParents pass data to their children throughpropsFrom the son to the father$emit / $on $emit / $bus Vuex Communication is also possible through the parent chain / child chain($parent / $children ) refYou can […]
-
Time:2020-8-4
In the learning of Vue, the communication between Vue components has to be understood. In the actual development, it is also very commonly used. So here I summarize six ways of communication of Vue components, hoping to help partners understand the communication between Vue components better and faster Component relationship description From the above figure, […]
-
Time:2020-7-27
Design high quality react components Principles and methods of constructing high quality react components The principle of dividing component boundary; Data types of react components; The life cycle of react components; 1. Design elements of easy to maintain components divide and rule:Each small component only focuses on the implementation of a single function, but the […]