UI interface is very important in Android applications. It is constructed by View and ViewGroup objects. VierGroup is an extension of View, which can accommodate multiple Views. Through the ViewGroup class, a composite control composed of connected sub-Views can be created.
Here's the layout type of the UI:
The default in ...
Posted on Wed, 10 Apr 2019 17:27:32 -0700 by dineshsjce
Last blog post< A Brief Analysis of Handler Use in Android > Through the production of countdown flash screen page, the use method and implementation principle of Handler are introduced. Bug in the process of implementation is also mentioned at the end of the blog. Interested friends can click on the link to go back and see. Today, we use ...
Posted on Wed, 10 Apr 2019 16:12:32 -0700 by Unforgiven
LitePal It's the great God. Guo Lin Developed ORM Framework:
Open source address: https://github.com/LitePalFramework/LitePal
Because it was used in development before. GreenDAO Comparing the two frameworks, my feeling is LitePal It's more convenient to operate and more efficient to GreenDao, but LitePal is enough for general app development ...
Posted on Wed, 10 Apr 2019 12:48:31 -0700 by Unseeeen
The normal life cycle call to start activityA is:
The normal declaration cycle call for destroying activityA is:
The following cases were tested on the API 25 simulator~
When configChanges is not set by defa ...
Posted on Wed, 10 Apr 2019 12:36:31 -0700 by nvee
The second stop of Android Tour--Used UI Interface Design
Linear layout and relative layout are the two most commonly used layouts. First, the two layouts are introduced.
1. Linear layout
Linear layout can be divided into two forms, horizontal linear layout and vertical linear layout.
android: orientation="horizontal&q ...
Posted on Wed, 10 Apr 2019 11:48:31 -0700 by manmadareddy
Hard stacking, reprinted please indicate the source, thank you!
Form-type interface used to be Linear Layout with layout_weight. Today, I saw TableLayout unintentionally, and found that it was very useful to make forms. I kept to the old rules and was uninformed, but in Android.
API document layout column, also did not see the google placeme ...
Posted on Wed, 10 Apr 2019 03:09:30 -0700 by weazy
Each HTTP request and response carries the corresponding header information, some of which are useful to developers. XHR objects provide a way to manipulate header information. This article details HTTP header information
By default, the following header information is sent along with the XHR request
Posted on Wed, 10 Apr 2019 02:06:30 -0700 by Daisatske
The so-called TreeView is a common multi-level list tree in Windows. Android The system only provides ListView and Expandable ListView by default, and supports the implementation of secondary lists at most. So if we want to implement three-level and multi-level lists, we need to do some processing by ourselves.
In fact, some people have tried ...
Posted on Wed, 10 Apr 2019 01:15:33 -0700 by micknic
1. What is reverse engineering?
mybaits requires programmers to write sql statements themselves, and mybatis officially provides reverse engineering to automatically generate the code required for mybatis execution against a single form: (mapper.java,mapper.xml, po.) Suggestion: In the actual development of enterprises, the commonly used reve ...
Posted on Tue, 09 Apr 2019 20:24:31 -0700 by truman
In the process of using ajax, GET and POST are two common requests. This article will elaborate on these two requests in the form of examples.
GET is the most common type of request and is most often used to query the server for certain information. If necessary, query string parameters can be appended to the end of the UR ...
Posted on Tue, 09 Apr 2019 19:42:32 -0700 by Zaynt