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
Post a Comment