The deep learning blogger of BaseAdapter has been working for several years and used ListView and other AdapterView controls for a few years. However, some issues about Adapter have not been further explored, finally, I have time to summarize some
To improve code readability and maintainability in the future, it is necessary to add standardized comments to our code, which not only improves our professional quality, but also facilitates others.
1. Set the portal, where we can personalize our
In Android development, anonymous applications make development more flexible, while the abuse of anonymous classes makes programs messy and difficult to maintain. Programmers like to be lazy. We often see that an Activity class is full of anonymous
On the PC end, We can click a URL link to start QQ. This is a good user jump experience. Very convenient.
The links used are as follows:
> Click
Replace 8888888 with your QQ number.
Can this be used in android? In fact, it can be done in the
Currently, the public platform has only a few simple functions, which is far from enough for enterprises. Independent R & D is far from enough. Some advanced functions of public platforms can be implemented through micro-websites! In addition to
When you see the style, many people may say this. I know that if the control writes attributes, you can use the style to reuse the code. Simply writing these attributes and their parameters into the style can be easily called.
This method is
1. What is Fragment?Fragment layout.Fragment is part of the Activity. We can use multiple Fragment in a single Activity to build a UI Panel, which can be used repeatedly. It can be imagined that it is a module in the Activity. It has its own
The pc-side osg has proved its strength, a large number of expansion projects, strict cross-platform. At present, there is no good 3D open-source framework available on mobile terminals. developers need to write from scratch, which is not a single
There is such an interview question:
How to publish the SQLite database (dictionary. db file) with the apk file?
A:Put this file in the/res/raw directory. Files in the res \ raw directory are not compressed, so that files in the directory can be
Broadcast receiver (BroadcastReceiver) 1. What is broadcast:
When an event is generated, a broadcast is sent. All the recipients registered with the broadcast can receive the broadcast.
2. Define the receiver step: (the listener of the SMS: the
Sometimes fragment is used in xml files, but it is not used to display the View. The Code is as follows:
We can see that the above xml file contains LoadInXmlFragment. Let's take a look at the lifecycle of the Activity and
Package com. hzhi. my_sax; import java. util. arrayList; public class infor {public static final String TAG_NAME = "infor"; // The school List public ArrayList schools; // The constructor public infor () {this. schools = new ArrayList () ;}// Add
10:56:28
Reprinted from http://blog.sina.com.cn/s/blog_61fbf8d10100zzoy.html
View displayed on the screen must first go through the measure (calculation) and layout (layout ).1. When to call the method?When the control's parent element is about to
10:00:12
1. When a program runs in the memory, it becomes a process. The system manages all running programs in the process;
2. three features of the process:
Concurrency: multiple processes can be concurrently executed on one processor;
3.
Explanation of the three methods:Wait (): causes the current thread to pause and release the lock until other threads call the notify () method of the synchronization monitor to wake up the thread.Y (): Wake up a single thread waiting on the
16:56:45
Sometimes we can see that many mobile phones put the Call log list and Dailer on the same page. At the same time, Dialer can be folded and opened. I made a Demo to achieve this effect, for the simple version, take a note.
Simple animations
16:55:07
1. BroadCastReceiver is one of the four Android components and is essentially a system-level monitor.
2. after each BroadCast event, the system creates the corresponding BroadCastReceiver object and automatically triggers its onReceive ()
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service