This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

List Activity and using ListView without it  RSS feed

 
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
Boost this thread!