Official DEMO Analysis of Android-Architecture-Componets
At the 2017 Google IO conference, besides android, Kotlin, there is a new architecture, componets. There are many introductions about the architecture itself on the internet. I will briefly analyze the demo provided by the government. After all, it is the kingdom to write code.
First, add a basic knowledge of componets: the schematic diagram ...
Posted by Dia:NL on Thu, 27 Jun 2019 00:26:15 +0200
Practice of Convolutional Neural Networks in NLP: Text Classification [Rotation]
Convolutional Neural Network (CNN) has made great progress in the field of computer vision, but in addition, CNN has gradually gained ground in the field of Natural Language Processing (NLP). Taking text categorization as an example, this paper introduces a basic method of using convolutional neural network in the field of NLP.
0. Text ...
Posted by bseven on Tue, 25 Jun 2019 21:37:32 +0200
Material Design Style TextInputLayout Use
Introduction to TextInput Layout
TextInput Layout is a text input layout based on the Material Design style of Google. The main feature is that in style, the first sentence of the official introduction is when the input text is displayed or hidden, EditText shows the layout of floating labels.
Look at the style first.
Styles actually have ...
Posted by mapexdrum on Mon, 24 Jun 2019 22:30:52 +0200
c + + Performance Testing Tool: Introduction to google benchmark
Last article In this article, we will further understand the common methods of google benchmark.
Index of this article
Passing parameters to test cases
Simplify the generation of multiple similar test cases
Using parameter generator
Passing parameters to test cases
Previously, all our test cases accepted only one benchmark:: S ...
Posted by Shaba1 on Fri, 21 Jun 2019 23:53:37 +0200
One line of code for multiple-choice batch operation of RecyclerView
One line of code for multiple-choice batch operation of RecyclerView
MultiSelectAdapter project address
Loading Part B
In the ancient days of Android, if people wanted to display lists, they needed ListView. It was simple but not flexible. Then, Google introduced a new alternative RecyclerView. RecyclerView was really flexible. You can ...
Posted by priya_cks on Sat, 15 Jun 2019 22:13:07 +0200
Kubernetes Service's "Stateful Service Running Single Instance"
target
Create a PV in your environment
Create a Deployment for MySQl
Exposing MySQL to other pod s in the cluster by DNS name
Before the beginning
You need a Kubernetes cluster, a kubectl command-line tool that can connect to the cluster. If you don't have a cluster, you can use Minikube To create.
We will create a PV (Persistent Volume) for ...
Posted by stringman on Sat, 15 Jun 2019 05:50:34 +0200
Simple Test and Use of PHP Machine Learning Library php-ml
php-ml is a machine learning library written in PHP. Although we know that Python or C++ provides more libraries for machine learning, in fact, most of them are slightly more complex and configurable, which makes many novices desperate. php-ml is a machine learning library, although it does not have a very large algorithm, but it has the most b ...
Posted by naggi on Fri, 14 Jun 2019 02:05:00 +0200
Simple implementation of ButterKnife
The last blog post wrote about implementing ButterKnife with runtime annotations: Simple implementation of ButterKnife This is about compile-time annotations for ButterKnife. If you don't know about compile-time annotations for Android Studio, please refer to my other blog post: Android compile-time annotations.
I. Overview
Runtime annota ...
Posted by ShugNorris on Sun, 09 Jun 2019 23:46:15 +0200
6. Overview of Workflow of volley Source Parsing
Summary of the article
1. Work threads in volley
2. volley working steps
3. RequestQueue initialization and initialization logic
Attachment: Get Volley source code
Demos case source code: https://github.com/HailouWang/DemosForApi
Perception:
Volley's source code is really worth reading, which contains many very good processing logic, such as ...
Posted by abitlikehomer on Sun, 09 Jun 2019 23:28:52 +0200
Settings of session, cookie, session Storage, local Storage and get deletion
I. cookie
What is Cookie?
"Cookie is a variable stored in the visitor's computer. This cookie is sent whenever the same computer requests a page through a browser. You can use JavaScript to create and retrieve cookie values. - w3school
Cookies are files created by visited websites to store browsing information, such as personal data. ...
Posted by macleo on Sat, 08 Jun 2019 21:40:11 +0200