- NEW: Laid the foundation for ViewSwitcher. ImageAdapter can handle
both gridview and listview.