Android custom ToolBar and immersive

The ToolBar is Android Five A new navigation control is introduced to replace the previous ActionBar. Because of its high customizability, flexibility, Material Design style and other advantages, more and more apps also use toolbars.Immersive status bar is from android Kitkat (Android Four point four )In the beginning, it can be set to the same ...

Posted by bios on Sat, 16 May 2020 07:04:15 -0700

MyBatis Series Talking about SQL Execution Process Analysis

Catalog Use Mybatis on its own Mybatis Execution Process SqlSessionFactory\SqlSession MapperProxy Excutor Use Mybatis on its own This article focuses on analyzing the Mybatis framework's processes for executing SQL. Recalling that we used the Mybatis semi-automation framework on our own, we needed to follow t ...

Posted by BradZynda on Fri, 15 May 2020 17:17:44 -0700

C ා use Topshelf to create Windows service

I. project creation Create a console application. Right click the project - > manage NuGet packages - > topshelft and Topshelf.Log4Net. II. Topshelf configuration Generally speaking, the service will set how often to perform tasks. Here, use System.Threading.Timer to make a simple log record and write the log to the Debug\Log folder. 2. ...

Posted by HA7E on Fri, 15 May 2020 07:26:46 -0700

Log Series 2 - Profile Details

Catalog 1.logback Composition of configuration file 1.1 rootnode 1.2.property node 1.3.appender node 1.3.1 ch.qos.logback.core.ConsoleAppender 1.3.2 ch.qos.logback.core.FileAppender 1.3.3 ch.qos.logback.core.rolling.RollingFileAppender 1.3.4 ch.qos.logback.classic.AsyncAppender 1.3.5 rollingPolicy 2. Examples of configuration files 3 s ...

Posted by member on Thu, 14 May 2020 18:44:30 -0700

Log series 1 -- slf4j log framework principle

catalog 1. Preface 2. Log face 3. Log Library 4. Log adapter 5. Selection of log base 6.logback.xml configuration file 1. Preface When it comes to logging tools, you must have heard these terms in your daily work or study: log4j, logback, jdk-logging, slf4j, commons-logging, etc. What is the relationship between them and what is their role ...

Posted by dk4210 on Wed, 13 May 2020 19:21:52 -0700

Node.js Part 12: random verification code of pictures

1. Why random verification code is needed Prevent malicious machine registration. The role of verification code: effectively prevent this problem from a specific registered user using a specific program brute force to try to login, in fact, verification code is the current way of many websites, using a relatively simple way to achieve this fun ...

Posted by Naez on Wed, 13 May 2020 10:49:20 -0700

First line kotlin series kotlin button click event

Button findViewBuId <Button android:id="@+id/mButton4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Jump" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@+id/mB ...

Posted by Aeglos on Wed, 13 May 2020 08:50:10 -0700

Do you know how Spring resolves configuration classes?

Do you know how Spring resolves configuration classes? Catalog Second line of code in SpringClassPathBeanDefinitionScanner Source Analysis1. Complete the scan by findCandidateComponents method2. Execute the postProcessBeanDefinition method3. Execute the processCommonDefinitionAnnotations method4. Register BeanDefinitionHow does Spring resolve ...

Posted by bigger on Sun, 10 May 2020 18:13:22 -0700

Linear and Frame Layouts

The second time, the puppy was very calm. Today let's talk about the layout of Android Q. The problems I encountered and what I learned. Don't laugh at the bulls. If something goes wrong, the puppy will change when he sees it. Today, my student began to lay out with us. Looking at the data, there seem to be five or more layouts, but Ouch, basi ...

Posted by Studio381 on Sun, 10 May 2020 17:27:02 -0700

Java automation test framework - 04 - Test Method of TestNG

From: https://www.cnblogs.com/du-hong/p/11718894.html brief introduction According to the plan in the previous article, this one will share the test method with the kids. 1, Set parameters Test methods can have Parameters. Each test method can have any number of Parameters, and you can pass the correct Parameters to the method by using Te ...

Posted by Okami on Sat, 09 May 2020 01:06:00 -0700