Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

List Activity and using ListView without it

 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
Whats would be the difference - if we create a ListActivity for displaying a ListView OR use Activity?
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ListActivity adds some list-specific methods to Activity, mostly with manipulating the items in the list. If you need any of those methods, use ListActivity. If you don't then Activity should be fine.
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks peter, can you give some insight into what are those additional benefits on using ListActivity.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic