android - Two ListViews in two different fragments produce an Error -
i have 2 fragments 2 listviews in app. have attempted following both listviews in each fragment:
listview listview = (listview)view.findviewbyid(r.id.list1); listview.setadapter(new listadapter() { //sets adapter }
but when run, produces error:
can't have viewtypecount < 1
is there better method doing? appreciated
Comments
Post a Comment