Used an adapter to display list items.