Interview Questions

The following questions should further consolidate what is covered in this chapter:

  1. What are the new key classes/methods introduced to support list widgets?
  2. What is a RemoteViewsService?
  3. What is a RemoteViewsFactory?
  4. How is a RemoteViewsFactory similar to a list adapter?
  5. Why is a RemoteViewsFactory cached?
  6. When is the onDestroy() method of a RemoteViewsFactory called?
  7. What is the disadvantage of passing an extra widget ID to the remote views service intent?
  8. Can a single RemoteViewsService instantiate multiple RemoteViewsFactorys?
  9. What is RemoteViews.setPendingIntentTemplate()?
  10. Why, when, and how do you make a pending intent unique based on its extras?
  11. What is RemoteViews.setOnClickFillIntent()?
  12. How can you set an empty view ...

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.