Interview Questions
The following questions should further consolidate what is covered in this chapter:
- What are the new key classes/methods introduced to support list widgets?
- What is a
RemoteViewsService
? - What is a
RemoteViewsFactory
? - How is a
RemoteViewsFactory
similar to a list adapter? - Why is a
RemoteViewsFactory
cached? - When is the
onDestroy()
method of aRemoteViewsFactory
called? - What is the disadvantage of passing an extra widget ID to the remote views service intent?
- Can a single
RemoteViewsService
instantiate multipleRemoteViewsFactory
s? - What is
RemoteViews.setPendingIntentTemplate(
)? - Why, when, and how do you make a pending intent unique based on its extras?
- What is
RemoteViews.setOnClickFillIntent()?
- 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.