Just beginning to learn RN, familiar with the control and basic use.
Knowledge points involved:
1. fetch network request, get splicing parameters, parse json.
2. Scrollable TabView and Scrollable TabBar Classified Layout.
3. FlatList data list.
4. Navigation routing carries parameter jump.
5. Drop-down refresh, combined with ...
Posted on Sun, 16 Dec 2018 18:33:04 -0800 by dmschenk
1 LayoutInflater for loading layout
LayoutInflater is used to load the layout. The task of loading the layout is usually done by calling the setContentView() method in Activity. In fact, the setContentView() method also uses LayoutInflater to load the layout, but this part of the source code is internal.
Let's first look at t ...
Posted on Sun, 16 Dec 2018 17:21:03 -0800 by Lashiec
Google has launched TextureView since Android 4.0. Why? In order to make up for the shortcomings of Surface View, and on the other hand, to balance GlSurface View, of course, this is my guess. The relationship between TextureView, Surfaceview, SurfaceTexture and GLSurfaceView will be specially analyzed after we launch GLSurface ...
Posted on Sun, 16 Dec 2018 09:27:04 -0800 by greencoin
I. Write in the foregoing:
Rectangle rectangle and oval ellipse are introduced before, ring ring ring and line line are introduced below.
As a programmer, it's a terrible thing to feel that there's nothing to do. Looking at it, the world of coding is too big, and there's a lot to learn. It's necessary to have an effective way of learning that ...
Posted on Sat, 15 Dec 2018 09:03:03 -0800 by missyevil
This project calls Java methods in C
When the user clicks the button, a dialog box pops up, but the dialog box is not invoked by the Java method, but by the C method. As shown below, click the button and the screen pops up a dialog box:
Click the ok button in the dialog box and the dialog box disap ...
Posted on Sat, 15 Dec 2018 05:33:03 -0800 by thread_PHP
Every time I read RxJava articles, I can't help but talk about the observer mode, which is always confused.
Later, when I saw a blog written by a god-man, I realized that the most intuitive code representation of the so-called observer pattern was the OnClickListener of the control.
Here is what he said:
The observer model of the program is ...
Posted on Sat, 15 Dec 2018 03:42:03 -0800 by mccdave
With the iteration update of Android version, how to make a feature compatible with different versions has been a problem for developers. For example, the display and hiding of Status Bar. This article also focuses on the status Bar and Navigation in Android.
Bar's display and hiding.
1. Hide Status Bar in Android 4.0 and below
In Android 4 ...
Posted on Fri, 14 Dec 2018 16:57:03 -0800 by thines
Message queue type
Setting up a fast message queue
1 Create the first message queue object
2 Create a second message queue object
3 Blocking queues and event markers
Using message queues
Zero copy operation
Send queues to HIDL
Corresponding official document address: HIDL(General) - Fast Messag ...
Posted on Fri, 14 Dec 2018 15:24:03 -0800 by matt1019
When we open an activity that needs to display content, we just need to execute the setContentView method in the onCreate method. One line of code is done. It's very simple. Is there any? Nevertheless, have you ever thought about the operations performed inside the setConentView method, and what happened to Window s, DecorView, ViewRoot ...
Posted on Fri, 14 Dec 2018 14:15:03 -0800 by seenu_vas80
Due to the company's recent business needs, a C++ library was developed with a third party. As a docker, I need to know how to dock C++ interface in advance, so I have this article.
To be honest, I'm not very good at writing conceptual descriptions, so I found some related introductions from the Internet and pasted them (guilt).
● ND ...
Posted on Fri, 14 Dec 2018 13:30:04 -0800 by jajtiii