Develop blogs and organize blogs
Develop Blog records to clear favoritesIt's too much to read.
Http://blog.sina.com.cn/s/blog_67d95f40010113ec.htmlHttp://segmentfault.com/a/1190000000394972Http://a.code4app.com/android/ListViewAnimations/526dfc8d680
Implement yydatasetchanged and notifyDatasetChanged by yourself
In this blog today, we will implement the most commonly used notifyDatasetChanged feature of the adapter. We will use a LinearLayout to implement a function that may be frequently used
High-imitation new message prompt function, high-imitation message
Recently, the company is working on a project to switch the message tone function. This function allows the app to switch the tone of the message received without affecting the
Whether to directly access instance variables and instance variables
This is an endless debate.What are the differences between direct access to instance variables and getter?1. direct access to the instance variable is fast because it directly
Use [[[UIDevice currentDevice] systemVersion] floatValue] with caution when obtaining the iOS system version. ios judges the system version.
The most common way to get the system version number for iOS is:
[[[UIDevice currentDevice]
Two fragment deployment methods in android
1. Static class deployment method:
Layout. xml
Android: layout_width = "match_parent"
Android: layout_height = "match_parent"
Android: orientation = "vertical">
Android: id = "@ +
Android EditText input detection, androidedittext
A Story occurred when a function was recently developed. The plot is as follows:
The function is not complex, and an EditText is needed to obtain the user input information. Therefore, I made a
When the ListView has a Header, the position in onItemClick is incorrect. onitemclicklistener
When a HeaderView is added to the ListView (the Code is as follows), we find thatpositionThe parameter value is not what we expected. For example, if you
Android shape, androidAndroid shape draws a border, specifying one side
When android wants to implement a table with a border similar to a webpage, this border is still not very well processed. Sometimes, when there are four edges and some edges do
Android Window, androidwindow
Window indicates an abstract window class, which is only an abstract window class, and its unique implementation class is the PhoneWindow class. The Window object is obtained by calling the getWindow () method in the
Java learning [After-School Notes], java after-school notes
Blog: http://blog.csdn.net/muyang_ren
Complete the following exercises with encapsulation and constructor. If there is no special declaration, write the attribute as private.Exercise 1:
1)
Android --- 54 --- WebView beginner, androidwebview
The webView component is implemented by a browser. Its core is based on WebKit.
1. Use WebView to browse the webpage:
Common Methods:Void goBack (): backwardVoid goForward (): ForwardVoid loadUrl
Android UI: use rule of layout_weight attribute in LinearLayout, androidlayout
First, check the android sdk documentation.
LinearLayoutAlso supports assigningWeightTo individual children withandroid:layout_weightAttribute. This attribute
Android -- taskAffinity attribute, androidaffinityThe ownership of the Activity, that is, the adsorption relationship between the Activity and the Task in which the Activity should be located. We know that in general, in the same application, all
Taibai --- Fu Yan, Feifei, the first Android unit testing Instrumentation and irobotium, androidirobo.pdf
PS: It's too white --- falling Yan Feifei is purely fun (the sense of the screen of Tianya Mingyue game, the sense of combat, the collision is
Custom Control: slide menu, custom control slide menu
Slide panel is now easy to find mature third-party frameworks, but we can do it ourselves and write some core code to help us understand it.
1. Write a class to inherit ViewGroup
Rewrite the
Andorid custom SwitchButton, android Custom button
Because of the project, you need to re-customize the SwitchButton. The effect is as follows:
The process is as follows:
1. Draw rounded rectangle
2. Font drawing
3. Draw small circles
4. Draw the
Custom Controls -- pull-down refresh, controls -- drop-downPull-down refresh
Inherit existing controls
Inherit ListView
Adds a Header to the ListView for pulling down and refreshing.
Add a Footer foot to ListView to load more
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.