These days again the basic knowledge of Android all over again, not the first time so difficult, feel a lot of simple, also found a lot of detail problems, found themselves in the network programming shortcomings.
Here are some small detail questions:
The difference between the three 1.string,stringbuilder,stringbuffer
String is the operation of a string of characters, which belongs to an immutable class. Once created, he cannot be modified, and the modification of an existing string object is to recreate an object and then save the new value in. Final class, cannot be inherited.
StringBuffer is the manipulation of a string of characters, which is a mutable class that can only be created by constructors, to be assigned by means of the Appen () method.
StringBuilder is a mutable class that is not thread-safe compared to stringbuffer, and is typically used when a single thread is operating.
The difference between 2.int and Inerger
int is the basic data type.
Integer is its wrapper class, more convenient to interact with, for example, type conversion.
3. Open threads are not allowed in broadcast receivers
4. Breakpoint Explanation:
The simple explanation is to tell the compiler to stop at that point to make it easier for the user to see the current situation.
Press F5 to step through F6 progressive execution Press F8 to skip this breakpoint
My Android Learning experience 35