Multiple choice

Which of the following APIs are not used to handle exception when we try to update the UI from one of our worker threads?

  1. The Activity.runOnUiThread method

  2. The View.post, View.postDelayed and View.postInValidate methods

  3. The AsyncTask class

  4. SyncTask class

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All the APIs are used to handle exception when we try to update the UI from one of our worker threads except SyncTask because there is no such class.