list view adapter and listener was added.locations are rendered using the list view.