create ArrayAdapter and bind adapter to listview.