Adding a ListView.
Implementing list listener.