Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on ListView

 
Joe Harry
Ranch Hand
Posts: 10105
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Why is this difference in the ListView and TextView. For example, to get a reference to the TextView in my Activity class, I use the findViewById method and pass in the name of the TextView that I have given in my layout xml. But the id for a ListView looks completely difference and also to obtain a ListView in my Activity, I use something like android.R.id.list instead of mentioning the layout xml file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic