CS 436 Lecture 6 – Blocking and the UI Thread
Before Class
Blu
- Watch http://youtu.be/0X0-HhEaWWQ.
- Read the AsyncTask documentation (http://developer.android.com/reference/android/os/AsyncTask.html).
- Read AsyncTasks Missteps (http://www.shanekirk.com/2012/04/asynctask-missteps).
Gold
- Watch http://youtu.be/pDUrxeD62V4.
- Read Grand Central Dispatch In-Depth Part 1 (http://www.raywenderlich.com/60749/grand-central-dispatch-in-depth-part-1).
In Class
I’ve not seen any premortems yet. Get cracking!
Haiku
on blocking the UI thread:
Your app has hiccups
The GUI must be DUI
It’s a syncing ship
Your app has hiccups
The GUI must be DUI
It’s a syncing ship