Course name:
Course 1: complete analysis of ListView In the Android promotion series (intermediate course)
Course 2: Memory in Android (Advanced Course)
Instructor information:
Lecturer-Zhao Yang-Android high-level lecturer
Course class information:
Recruitment: 30
Course Start Time: 2012-11-10 (course 1), 2012-11-17 (course 2 )【Note: If the number of students for a course is over 10, the number of students for a course is over 5, and the number of students is not enough, the course will be postponed.]
Training Duration: 4 hours
Registration Method: mail to yijieke@qq.com registration, submit personal:
Real name:
Mobile phone number:
Course registration: for example, "complete analysis of ListView for Android promotion Series Lectures" and "Memory in Android"
Optional:
Service Life:
Good:
Course-related considerations:
The email is replied, indicating that the reservation is successful and the final time and location are confirmed by SMS.
Training fee:
Course 1: 100 yuan (the original price of the intermediate course is 200 yuan, and the first time the lecturer opens the lecture, the discount is 100 Yuan !)
Course 2: 200 yuan (the original price of the Advanced Course is 300 yuan, and the first time the lecturer opens the lecture, the discount is 200 yuan !)
Note: Two hours of free trial in class! We are very confident in the lecturers!
Location: Beijing airlines or Anzhen (TBD)
Student requirements:
Please bring your own computer!
Course 1:
1. Have the Android Foundation
Course 2:
1. Have the Android intermediate Foundation
ListView full parsing course outline:
List View & Adapter Basic
Usage tips
Adapter optimize
List View item optimize
Common mistakes
List View Gotchas and don's ts
My list turns black ?!
The scrollbar changes size ?!
Don't! : Height = wrap_content
Don't! : ListView inside a ScrollView
Don't! : Cache views in the adapter
Don't! : Too complicated List Item
List View Customization
Paging List View
Pull down to refresh List View
Customize List View Fast Scroll
Download courseware:
The world of Listview release.pdf
Class audition:
Http://v.youku.com/v_show/id_XNDYzNzIxOTQ4.html
~~~~~~~~~~~~~
Memory in Android course outline
Why optimize memory usage?
Memory fundamentals
Garbage collector in Android
1. GC Strategy in Android
2. Copying garbage collector
3. Mark-Sweep (CMS) Collector
4. Concurrent, Generational, Compacting
5. When GC happens?
6. Difference after Gingerbread (2.3)
How to Analyze memory usage?
1. Interpreting Log Messages
2. Heap Dumps
3. Eclipse Memory Analyzer
4. Immediate Dominator filtered
Common memory leak problems
1. Memory leaks in Java
2. Problems overview
Best practice of using memory
1. Use Nine patch image
2. Avoid using bitmap as background. Use more color or shape instead
3. Load large bitmaps efficiently, Scaled down to meet your requirement
4. Unbind drawables when activity destroyed.
5. Do not keep long-lived references to a context-activity
6. Try using the context-application instead of a context-activity
7. Avoid non-static inner classes in an activity
8. Using LRU cache, soft reference were good but not now
9. String. intern () can help you to save memory
10. Always using finally block to close system resources like cursor
11. Recycle TypedValue, Bitmap etc. after used
12. Set callbacks to null when destroy
13. When there are too many threads, there are too many threads in the queue. please wait until there are too many pending errors when there are too many pending errors so Do not call the System. gc () everywhere, It doesn' t solve your problem
Courseware PDF download:
Http://code.taobao.org/p/android-sample/src/trunk/Lecture-Memory/doc/
(If you do not have taobaocode, register one to download it. You can also download the code !)
30 minutes of course trial:
Http://v.youku.com/v_show/id_XNDYzNzkwNzIw.html
Note! The courseware PPT is in English, and the course is full of Chinese. If you are not good at English, do not worry!
Lecturer expertise:
1. Rich android development experience, proficient in developing android apps, and familiar with android memory problems, multi-resolution adaptation problems, multithreading problems, and display speed optimization problems.
2. Familiar with C and C ++, develop cross-platform databases on Windows, linux, android, and ios platforms, and skillfully use databases such as sqlite.
3. Familiar with CS architecture, client server interface design, and real-time client push technology.
4. Familiar with the MVC mode and common design patterns.
5. proficient in NDK and can independently complete the JNI and native sections.
~~~~~~~~~~~~~~~
ListView is the most important control in Android development. Through this course, you will fully master all aspects of ListView, the usage of the system, and its internal implementation principles.