1

dataListAdapter gives me an error when trying to create it - Android

view story
linux-howto

http://stackoverflow.com – I am trying to create a class that extends BaseAdapter but when I try to declare the class is gives me an error here is my code, l1=(ListView) findViewById(R.id.list); l1.setAdapter((ListAdapter) new dataListAdapter(comments,numbers,usernames)); class dataListAdapter extends BaseAdapter { //example } When I place the code l1.setAdapter((ListAdapter) new dataListAdapter(comments,numbers,usernames)); dataListAdapter is underlined and says i need to create a class named dataListAdapter and I do? It's right underneath it? (HowTos)