Gradle this article is enough to use 06 property

Property usage In the previous article, we used the rootProject.name and the description and other variables in the task to set directly. These are the built-in properties of gradle. In this article, we will introduce the properties related knowledge of gradle. Common properties: built in gradle has many built-in attributes, such as project and ...

Posted on Sun, 05 Apr 2020 09:06:50 -0400 by wilbur

Those pits in Android layout_weight

Ideally: As expected, the code below is simple, and I think the 1:1:1 Golden Dragon displays three textview s <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" a ...

Posted on Sun, 05 Apr 2020 08:56:31 -0400 by cpace1983

ViewPager and TabLayout use Title styles with icons and text

We often use the layout of ViewPager+TabLayout+Fragment to complete the following layout: 1. First of all, let's look at the related layout of XML and the related content of fragment Gu action.xml <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schema ...

Posted on Sun, 05 Apr 2020 08:31:02 -0400 by StateGuy

Elasticsearch Mget, GetDocSource, index part update case sharing

bboss is used to realize Elasticsearch Mget, update part information of index documents, GetDocSource and share operation cases of obtaining documents 1. Preliminary preparation Reference documents< Introduction of high performance elastic search ORM development library >Import and configure es client bboss 2.mget operation Simple a ...

Posted on Sat, 04 Apr 2020 20:11:41 -0400 by smilesmita

Wechat public platform development and learning

PHP development of this course, the teacher said that the final inspection is to make a WeChat official account, so this is the development of WeChat public platform. Ha ha, it is a new thing to learn.                  Preparation 1. in Wechat p ...

Posted on Sat, 04 Apr 2020 19:49:08 -0400 by msing

Using attribute animation and custom view to display and hide pictures

The effect picture is: click the plus sign button, the plus sign is hidden, the minus sign is rotated to display, and the other three pictures are also rotated to display at a certain angle Click the minus sign button, the minus sign is hidden, ...

Posted on Sat, 04 Apr 2020 11:16:06 -0400 by alex clone

MD5 encrypting and saving data

1. overview In order to ensure the data's concealment and security, we often save some password data stored in the database by encryption, among which MD5 is a common encryption method 2. Encryption method I know that there are two ways to achieve encryption 1. Encrypt before data insertion 2. Encrypt when inserting data ...

Posted on Fri, 03 Apr 2020 20:26:37 -0400 by sineadyd

mybatis develops "three swordsmen"

Automatic generation of mybatis generator code Mybatis generator is a good tool for automatic code generation of mybatis. It's very troublesome to write entity classes, mapper s and xml configuration files manually. Using mybatis generator only needs simple configuration. Here is a brief description of the development steps. ...

Posted on Fri, 03 Apr 2020 20:12:47 -0400 by noodle

Learn the operation brought by CoordinatorLayout+ViewPager+Fragment+Toolbar.

1. In the last article of coordinatorlayout, we also witnessed its strength: https://blog.csdn.net/m0_37667770/article/details/79888692 Let's take a look at the most common effect: at present, it's a popular design column: the picture is as follows: we can clear CoordinatorLayout by listening to the wrapped sliding controls, su ...

Posted on Fri, 03 Apr 2020 18:44:26 -0400 by LoneTraveler

Mybatis Reverse Engineering plus Maven plug in

1. Plug in introduction This plug-in is an enhanced version of Maven plug-in based on mybatis in idea, and supports the following operations: 1) Chinese notes of corresponding table fields of self defined import database 2) Suffix rename of Mapper and dao files 3) Implementation of paging class 4) Lombok integration can simplify the code 2. P ...

Posted on Fri, 03 Apr 2020 18:08:50 -0400 by woozy