Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Android and the fly likes Question on ListView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Question on ListView" Watch "Question on ListView" New topic
Author

Question on ListView

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

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?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
jQuery in Action, 2nd edition
 
subject: Question on ListView
 
Similar Threads
retrieve value from edittext from ListView
How to show a title to a ListView
listview with soft keypad problem
list view problem
Floating view below ListView