List Control of duilib

List control is the control we often use, but also widely used. There are two ways to add elements to LIST controls, one is to write dead elements directly in XML, the other is to create them dynamically. In addition, the application of LIST can be divided into two kinds, one needs a header, the other does not need a header. The corresponding ...

Posted on Wed, 27 Mar 2019 12:51:29 -0700 by respiant

Simple explanation of java reflection

java Reflection Explanation Introduction to 1 Class Class 1.1 concept First look at a class: Person public class Person{ } Person p1 = new Person(); As we all know, p1 is the instance object of Person, so please think about a question: Is the Person class an instance object? Answer: Yes! The Person class is an instance object of the j ...

Posted on Wed, 27 Mar 2019 12:12:30 -0700 by Mgccl

Android performance optimization

Layout optimization Memory optimization Use various tools for analysis and optimization I. Layout optimization The system needs to consume a lot of resources when rendering pictures. A good UI should not only have a good visual experience, but also a good use experience. Therefore, layout optimization is very important. 1.Androi ...

Posted on Wed, 27 Mar 2019 11:45:29 -0700 by 2005

One-page WEB Application (3), Chat Chat Chat Module

Chat Chat Module This module should be the only module in the whole book. Almost all the chapters in the following chapters revolve around this module. However, through the implementation and uploading of this module, it can also reflect the whole process from single page application development to publishing upload. After all, the data, comm ...

Posted on Wed, 27 Mar 2019 11:24:28 -0700 by blackcell

Mybatis - Advantages and Disadvantages of Level 2 Caching

Deep understanding of MyBatis secondary caching I. The Complete Process of Creating Cache Let's start with the SqlSessionFactoryBuilder parsing mybatis-config.xml configuration file: Reader reader = Resources.getResourceAsReader("mybatis-config.xml"); SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(reader); ...

Posted on Wed, 27 Mar 2019 09:51:28 -0700 by dellvostro

One linux command per day: iostat command

Iostat in Linux system is the abbreviation of I/O statistics (input/output statistics). The iostat tool will monitor the disk operation activities of the system. Its characteristic is to report the statistics of disk activity and CPU usage. Like vmstat, iostat has a disadvantage that it can not analyze a process in depth, only the overall situ ...

Posted on Wed, 27 Mar 2019 06:57:28 -0700 by Silver_Eclipse

Browser Compatibility Problems and Solutions 2

1. IE6 Bilateral Distance This means that if I use float for a div, there will be double spacing left or right. Let me give you a simple example to illustrate. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> body{ margin:0 ...

Posted on Wed, 27 Mar 2019 06:42:29 -0700 by Cherry

ES6 Introduction Notes (1)

Install babel Because browser support for ES6 is not very good, before writing ES6 code, we need to install a babel tool to compile ES6 code into ES5 code. Install babel with the following commands: npm install -g babel-core //install babel Core library npm install -g babel-cli //install babel Command Line Tools After succe ...

Posted on Wed, 27 Mar 2019 04:33:29 -0700 by king.oslo

Basic Use of Android Services 2 (Binding Services)

The sky was clear as a wash, and the brilliant sunshine was shining through the cracks of the dense pine needles, forming a bunch of thick and thin pillars of light, which illuminated the shade of the trees with the mist of light yarn. Lu Xun's Picking Up Flowers at Night Last time we ta ...

Posted on Tue, 26 Mar 2019 19:45:29 -0700 by Irap

Use and in-depth analysis of RecyclerView

For reprinting, please indicate the source: http://blog.csdn.net/evan_man/article/details/51570466   Recycler View has been playing a trick recently. Today, when I have nothing to do, I will sort out the information I collected before and the experience in using it, and write the following blog. The structure of the blog is similar to that ...

Posted on Tue, 26 Mar 2019 15:06:30 -0700 by adsegzy