android - Proper use of ArrayAdapter? -


thelists = new thelists();  class myadapter extends arrayadapter<thelists> {     myadapter()      {         super(listpage.this, r.layout.list_row, r.id.sname, a);     } } 

what wrong code ?

i'm getting error on "super" line says "the constructor arrayadapter(listpage,int,int,thelists) undefined"

you need pass either thelists[] (java array) or list<thelists> (implementation of java.util.list) final parameter, given arrayadapter<thelists> declaration.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -