Android ListView: Do I need to create another class to use it? -
i have app using scrollview , loads lot of images.
i decided change listview. saw use listview, class must extend listactivity.
my current class lot of things, inserting in database, updating, etc.
so, should create new classe listview? can current class extends listactivity?
in case need create separate class listview, how use in current class?
any appreciated!
best regards
your class doesn't necessary have extend listactivity
use simple activity
listview
element in it's layout. use existing activity replace current scrollview
element listview
element. retrieve element in oncreate()
, set adapter map images listview
rows. have make own custom adapter show images.
Comments
Post a Comment