1, Standard library
1. regexp package: regular expression
2. sync package: lock and sync
2.1 sync.Mutex mutex
2.2 sync.RWMutex read / write lock
2, Use of packages
1. Custom package
2. reference package
3. Initialization of package
1, Standard library
Built i ...
Posted by unbreakable9 on Fri, 17 Jan 2020 04:15:47 -0800
WeChat public number development (1) WeChat access certification as developer
This article will implement
2, Message reception
Message receiving POST and wechat authentication GET are the same interface (URL filled in by the developer)
Posted by vornn on Fri, 17 Jan 2020 00:21:30 -0800
Several ways for Android to update UI through subthread
In general, the update of UI cannot be without Handler. First, let's understand the Handler mechanism:
Handler message mechanismDefinition
MessageThe data unit for inter thread communication can carry the required data through message to create an object: Message.obtain(what)
Posted by blckspder on Thu, 16 Jan 2020 23:27:08 -0800
API design principles:
Controlling the granularity and number of API s
Naming should follow the principle of simplicity, readability and uniformity.
Prioritize API design, then code
Say one more thing: In order to develop more efficiently and save the cost of writing documents, these popula ...
Posted by artin on Thu, 16 Jan 2020 17:55:04 -0800
Turn from https://blog.csdn.net/chen801090/article/details/95072592 , the original text is to identify Huang Jiaju and Huang Jiaqiang. The difference is that this article changes to Wanxi and Jiang Shuying. Why do you choose them... In addition, add a recognizer to download in the link (the resource ...
Posted by alan007 on Thu, 16 Jan 2020 07:56:43 -0800
44. Receiving address - display list - controller layer
(a) Handling newly created exceptions
(b) Requests to be processed for design
Request path / addresses/
Request parameter: HttpSession session
Request method: GET
Response result: jsonresult < list < address > >
(c) P ...
Posted by tengkie on Thu, 16 Jan 2020 05:31:01 -0800
Commonly used API
Source code analysis
SlidingPaneLayout is a layout that Android launched in android-support-v4.jar to support sliding test panel. For example: headline detail ...
Posted by 7724 on Thu, 16 Jan 2020 03:19:43 -0800
Starting with business applications, this paper abstracts a floating window tool class from scratch that can be used to display floating windows on any business interface.It can manage multiple floating windows at the same time, and floating windows can respond to touch events, can be dragged, and have side animations.
The sample code is writt ...
Posted by mrdave on Wed, 15 Jan 2020 10:33:32 -0800
Dependency injection in spring
IOC role: reduce the coupling between programs (dependency)
Dependency management: to be maintained by spring (objects of other classes are needed in the current class, provided by spring, we only need to explain in the configuration file)
Dependency maintenance: depende ...
Posted by superstar on Tue, 14 Jan 2020 23:37:15 -0800
Design of Service layer
Create the required package
Service package: store the interface and implementation class of service
exception package: store some exceptions of service (repeat seckill, close seckill, etc.)
Dto package: it also stores data. The difference between dto and entity is that ...
Posted by dalecosp on Tue, 14 Jan 2020 21:09:40 -0800