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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -