Introduction to the Use of RecyclerView (I)

introduce RecyclerView is similar to ListView in principle: it maintains only a small number of Views and can display a large number of data sets. RecyclerView simplifies data presentation and processing in two ways: Use Layout Manager to determine how each item is arranged. Provide default animation effects for adding and deleting items. Y ...

Posted on Sun, 09 Jun 2019 19:06:27 -0700 by Serpent_Guard

Android View Status and Rendering Process Analysis, take you step by step in-depth understanding of View(3)

For reprinting, please indicate the source: http://blog.csdn.net/guolin_blog/article/details/17045157 In the previous article, I took you all together to analyze the drawing process of views from the source level and understand the working principle of onMeasure, onLayout and onDraw, which are the three most important steps in the draw ...

Posted on Sun, 09 Jun 2019 14:10:42 -0700 by arpowers

A New Understanding of Material Design

A New Understanding of Material Design I. Overview Material Design (original design) was proposed at the 2014 Google Conference in the hope of creating a new visual design language that can follow the classical rules of excellent design, along with innovative ideas and new technologies. Design Principles: Entity, vivid image, thoughtful and ...

Posted on Sun, 09 Jun 2019 11:30:25 -0700 by Dominator69

Contrast AsyncTask with Handler

Contrast AsyncTask with Handler 1) Principles of AsyncTask implementation, advantages and disadvantages of its application AsyncTask, which is a lightweight asynchronous class provided by android, can directly inherit AsyncTask, implement asynchronous operation in the class, and provide interface feedback on the degree of current asynchrono ...

Posted on Fri, 07 Jun 2019 17:38:42 -0700 by adeelahmad

Color Special Effect Processing in Android Image Processing

Refer to Android Group Biography 6.6 I. Changing the attributes of color and light The Android system encapsulates the ColorMatrix class, the color matrix, through which the color effect can be handled easily by changing the value of the matrix. Creating a ColorMatrix is the same as creating a generic class. Several methods of changing colo ...

Posted on Fri, 07 Jun 2019 16:39:45 -0700 by grafnic1732

ConstraintLayout Foundation and Dynamic Control (Animation Effect)

Original articles, reprinted please indicate the source: http://www.jianshu.com/p/7888cde8292f This article originated from the brief book, CSDN is an excellent platform, so it also appeared in CSDN. Constraint Layout Static Construction Method ConstraintLayout's static construction method, that is to say, it is processed on the layout i ...

Posted on Fri, 07 Jun 2019 14:59:54 -0700 by liquidchild

LSTM Sentence Similarity Analysis

wordvector Although it is simple to use Vector weighted average of words in sentences for text similarity analysis, it also has obvious shortcomings: the word order is not taken into account and the difference between word vectors is not clear. There are two sentences as follows: The similarity between "Beijing's capital is China" ...

Posted on Wed, 05 Jun 2019 12:44:40 -0700 by jib0

Https Configuration under Various Web Servers

Preface Front-end needs to start the web server in many cases. In order to ensure the security of the data, encrypted transmission of the data is required by Https. Some web-view s only allow HTTPS to be accessed, so learning how to configure HTTPS is also an essential part of the big front-end.This sister will start with a brief introduction t ...

Posted on Tue, 04 Jun 2019 09:36:05 -0700 by Shawazi

Using Douban Short Comment Data to Generate Word Cloud

In the previous article, we got the short comment content of bean Crep crawling and summarized it in a file. However, the data that has not been used is meaningless. As mentioned in the previous article, there is a practical record of the production of word clouds in a Weixin tweet, which is ready to be tested. Thinking analysis read file Read ...

Posted on Sun, 02 Jun 2019 16:43:10 -0700 by MDanz

Create the Simplest Recycleview Side-Slide Menu in History

Open source libraries were initially used to implement Recycleview sideslip menu SwipeRecyclerView This library has a wide range of functions, but can not meet personal needs, because it has the following limitations: Once the menu text is determined, it cannot be modified. The whole item will slide when it slips sideways. Cannot customize m ...

Posted on Sun, 02 Jun 2019 14:33:12 -0700 by rwoods