Change the adapters super class from BaseAdapter to ArrayAdapter