MyBatis from Shallow to Deep (Practice) - 2
MyBatis Develops DAO(Data Access Object)
Two ideas:
Original Dao Development Method (Writing Dao Interface and Interface Implementation Class DaoImpl, respectively)
With MyBatis, proxy development using mapper interface (equivalent to Dao interface)
Expected function
Implementing CRUD of Single Table with Dao Interface
Example program
Primi ...
Posted by terryl on Mon, 27 May 2019 00:53:58 +0200
Web pack 2.0 to build react framework
Learning React, has been using the original scaffolding, create-react-app, but used for so long, psychological inevitably is not taste, after all, I have been a little knowledge of webpack, so I spent a day, read a lot of blogs, but most blogs are not unified, so I have not built up for half a day, and then I read the official website step by ...
Posted by rashu.dr on Sun, 26 May 2019 22:37:20 +0200
Data Binding Learning Series (6) The Last Actual Warfare - Recycler View
Preface
Think about it, I don't know what to add. As the saying goes, there is an egg to use in actual combat. So I use Data Binding to achieve the list effect of RecyclerView to draw a perfect end to this learning.
Text text
Not much nonsense. In order to achieve the effect, first of all, we must put the Recycler View of MainActivity in place. ...
Posted by Mark Baker on Sun, 26 May 2019 00:03:12 +0200
Camera Use - Implement Simple Custom Cameras
This article summarizes the implementation of custom cameras using the Camera API
Previous articles Detailed description of Android Photo Function This paper introduces the camera application of the call system to complete the photography function.
But many times, applications need to customize the camera photo function. After Android 5. ...
Posted by hyster on Sat, 25 May 2019 23:20:57 +0200
Android Development: Optimizing Battery Duration-Monitoring Power Volume and Charging State
When you change the background update frequency to reduce the impact of these updates on battery life, it's a good start to check current power and charging status.
Battery life affects the execution of application updates by residual power and charging status. When charging with alternating current, the effect of updating operation on equ ...
Posted by tom100 on Sat, 25 May 2019 20:55:32 +0200
Android Wechat Login, Sharing, Payment
Reproduction requires well-known sources:
http://blog.csdn.net/lowprofile_coding/article/details/78004224
Previously, I wrote the first edition of Weimai Login Sharing Payment:
http://blog.csdn.net/lowprofile_coding/article/details/48086381
Preface
Most app s have the need to access third-party sdk s. For example, third party login requires acc ...
Posted by networkthis on Sat, 25 May 2019 02:09:10 +0200
One of the basic methods of use
Today I'll give you a basic introduction to XUtils 3. The cases in this article are all based on the API grammar of XUtils 3. I believe you have also known about this framework. Here is a brief introduction to some basic knowledge of XUtils 3.
XUtils 3 has four functions: annotation module, network module, image loading module and ...
Posted by itsmani1 on Sat, 25 May 2019 00:53:44 +0200
Spring transaction details
Before writing this blog, I first read Spring in action, and then read some articles about Spring transaction management on the internet. I don't feel that they are complete. Here, I will summarize the knowledge of the book and the Internet about the transaction. The reference articles are as follows:
Detailed explanation of Spring transac ...
Posted by hadingrh on Fri, 24 May 2019 02:04:42 +0200
Shell script basic notes (1)
1. Command Segmentation in Bash
Each command or sequence of commands is separated by semicolons (;) or newline characters (\n).
$ cmd1 ;cmd2
Equivalent to
$cmd1
$cmd2
2. Terminal printing echo and printf
Double quotation marks - variable name replacement; special character order escape character () - e takes effect
Single quotation ma ...
Posted by loganbest on Thu, 23 May 2019 20:50:24 +0200
dom4j parses XML
1. Parsing xml using dom4j
* dom4j is an organization that provides parser dom4j for xml parsing* dom4j is not part of javase. What do you need to do to use the first step?*** Import dom4j to provide jar packagesCreate a folder libCopy the jar package under lib.Right-click on the jar package, build path -- add to build path- See the jar pack ...
Posted by dhe on Wed, 22 May 2019 23:57:19 +0200