QuickAdapter uses Explanation-Quick Construction of Recycler View Adapter
What is QuickAdapter? As its name implies, it's a quick way to build RecyclerViewAdapter.
What are the characteristics of this component?
Quickly build Adapter, integrate Quick kView Holder, quickly bind data, configure itemView, margin, padding flexibly, set OnItemClickListener, OnItemLong Lister, and can set View Click Ev ...
Posted by dagnasty on Wed, 15 May 2019 23:07:56 +0200
python algorithm-004 inverse output list without changing the list structure
A man of lofty ideals cherishes the short days while a man of sorrow knows the long nights. —— Jin Fu Xuan's Miscellaneous Poems
Study hard! We don't have much time left!
First fill in what I forgot to say yesterday. Yesterday's Insertion method Compared with Recursive method and In-situ reverse sequence method Neithe ...
Posted by CSmith1128 on Wed, 15 May 2019 18:06:33 +0200
Performance testing and optimization of PostgreSQL 11 similar image search plug-in imgsmlr 2-single machine partition table (dblink asynchronous call parallel) (400 million images)
Label
PostgreSQL, imgsmlr, GiST, image eigenvalues, wavelet transform
background
Continued
"PostgreSQL 11 Similar Image Search Plug-in imgsmlr Performance Test 1 - Single Table (400 million images)"
Parallel invocation using partition table + dblink asynchronous interface. (It's better to support imgsmlr gist index scan directly at ...
Posted by synapp2 on Wed, 15 May 2019 10:27:10 +0200
Installing etcd cluster
kuberntes system uses etcd to store all data, which is one of the most important components. Note that the etcd cluster can only have an odd number of nodes (1,3,5...). This document uses three nodes to cluster.
I. Basic Environment
software package
etcd download address: https://github.com/coreos/etcd/releases
The server
Architecture diagr ...
Posted by aximbigfan on Tue, 14 May 2019 22:41:01 +0200
UI Carton Optimizes UI Performance in Android Detection Applications
I. overview
When optimizing app performance, we all hope to write a slippery UI interface. We have written a blog before. It is mainly based on the performance optimization model released by Google at that time. It mainly provides some examples of UI optimization performance:
Performance optimization of Android UI in real-world ...
Posted by whmeeske on Tue, 14 May 2019 22:27:20 +0200
Redis source code reading: dictionary dict implementation
Redis source code reading: dictionary dict implementation
Main Data Structures of Dictionaries
Creating dictionaries and hashing algorithms
Create dictionary
Hash algorithm
rehash process
Traversal of Dictionaries
Other API functions
Redis source code reading: dictionary dict implementation
Code version: Branch 5.0
...
Posted by robpoe on Sun, 12 May 2019 10:49:44 +0200
[VUE] - Recommendation preparation for mobile H5 page development using VUE
Before using Vue to develop mobile pages, we need to do some pre-work to ensure that what users see when they visit the pages does not have different effects because of the different devices. For example, a page is displayed normally on the iPhone 7 plus, and then switch to the iPhone 5 because a small part of the content of th ...
Posted by xiosen on Sat, 11 May 2019 19:12:06 +0200
Toolset Core Tutorial | Part 5: Using Velocity Template Engine to Generate Template Code
Preface
I don't know if you have such a feeling. In normal development, there are often many duplicate codes in dao and service classes. Velocity provides template generation tools. Today, I will teach you how to say goodbye to these duplicate codes.
Reference items: https://github.com/bigbeef/cppba-codeTemplatePersonal blog: http://www.zhangb ...
Posted by Tonic-_- on Sat, 11 May 2019 04:37:58 +0200
Go module learning notes
1. Create a mudule and publish it
1.1 $GOPATH/src directory structure
1.2 Environment Variables
Need to add environment variable: GO111MODULE=on;
This variable has three optional values:
On (GoEnable this feature anywhere),
off (disable this feature),
auto (default, enabled elsewhere with GOPATH disabled)
Otherwise console will output the ne ...
Posted by nishmgopla on Sat, 11 May 2019 01:33:20 +0200
Learn "Template Method Model" in one minute
Preface
Only a bald head can be stronger.
The text has been included in my GitHub warehouse. Welcome to Star: https://github.com/ZhongFuCheng3y/3y
In the last article, a reader said that one minute will be the end of the facade model, so today's title is "One minute Learn Template Method Model".
Looking back on the design patterns t ...
Posted by edwin_h on Sat, 11 May 2019 01:15:48 +0200