Learning and summary of RecycleView

Since I contacted Android studio, I have a new understanding and desire to learn and master the new Android UI design concept and V7 package. Therefore, I have a special look at the use of the new control RecycleView, which is summarized as follows. Its usage is similar to that of listview. It consists of three parts: adapter, arrangement and ...

Posted by andre_c on Tue, 05 May 2020 09:21:06 -0700

Upload files through fromdata

In fact, there are many plug-ins for file upload, but what we do now requires to use as few plug-ins as possible, so I wrote it myself. I've also written about file processing with node before. This time, I'll try it in php. a.html file <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/html"> <head> <meta http- ...

Posted by asd on Tue, 05 May 2020 06:05:32 -0700

Android OpenGL ES2.0 implementation steps

Define vertex data Vertex data describes the location of elements in the OpenGL world. The following defines the vertex data needed to draw a triangle. x,y,z correspond to each vertex coordinate of the triangle, where z represents the color code of the shader corresponding to depth, x1,y1. float vertices[] = { ...

Posted by mikegotnaild on Tue, 05 May 2020 04:47:22 -0700

AOS.js using and imitating Millet's demo display

AOS.js is a tool library used to present element animation when the page scrolls, similar to WOW.JS, but AOS is a CSS3 animation driven library, which can make elements move when scrolling the page, and when the page rolls back to the top, elements can return to the previous state, which can achieve the effect of circular animation. code ...

Posted by TripleDES on Tue, 05 May 2020 04:42:29 -0700

Array operation in js

Array API API: Application Programming Interface; The methods provided by objects in js are called API s; instanceof Detect whether an object is an array; (used against complex data types;) //Simple data type of; A instanceof B / / is a made by B; Example: var arr = [1,2,3]; console.log(arr instanceof Array); //arr is not of type ...

Posted by stitchmedia on Mon, 04 May 2020 22:35:56 -0700

[Deep AQS Principle] I've drawn 35 diagrams to get you deep into AQS

Statement This article was first published under Public No. cxuan, a programmer who contributed his own article.I've communicated with cxuan, posted a public number, and posted my own blog to mark it as an original. This article has been a long time with many pictures. I hope you like it. In addition, interested little partners can focus on ...

Posted by PHP_mySQL__Newbie on Mon, 04 May 2020 16:32:40 -0700

Programmer's drawing tool Graphviz

Summary Official website: http://www.graphviz.org/ Graphviz (Graph Visualization Software) is an Open Source Toolkit launched by at & T lab. DOT is a graphic description language, very simple, Graphviz is a tool for dealing with this language. Just a brief understanding of the DOT language, you can use graphviz drawing, it is particularly u ...

Posted by stevehossy on Mon, 04 May 2020 02:58:34 -0700

Kettle database configuration extraction

When using the ETL tool Kettle, in order to make the job or transformation universal, sometimes we need to separate the connection configuration of the database from the script or transformation. Here is a scheme, which mainly involves the following files: # By default, these two files are in the user directory of the system. If you configure t ...

Posted by watson516 on Mon, 04 May 2020 00:04:15 -0700

Deconstruction assignment of ECMAScript6 (ES6) (array, object, string)

Deconstruction assignment of ECMAScript6 (ES6) (array, object, string) es6 allows you to extract from arrays and objects and assign values to variables according to certain patterns, which is called deconstruction1. Deconstruction and assignment of arraysAs long as the patterns on both sides of the equal sign are the same, the variables on the ...

Posted by LowEndTheory on Sun, 03 May 2020 23:35:26 -0700

SQLite realizes user login function

SQLite realizes user login function void login::on_LoginToMain_clicked() { //The login button needs to determine whether the user name and password correspond correctly //If there is an error, a prompt dialog box will pop up //-------------------------------------- //Use SQlite to compare user name and password QSqlDa ...

Posted by ninevolt1 on Sun, 03 May 2020 21:36:07 -0700